Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
28765810
Commit
28765810
authored
4 months ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
CI: try brew install for macOS
parent
cacd26e5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/mac.yml
+29
-0
29 additions, 0 deletions
.github/workflows/mac.yml
with
29 additions
and
0 deletions
.github/workflows/mac.yml
0 → 100644
+
29
−
0
View file @
28765810
name
:
macOS
on
:
[
push
,
pull_request
]
jobs
:
macOS
:
runs-on
:
macos-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v4
-
name
:
Brew install
run
:
|
brew install root boost cmake ninja
-
name
:
Compile
run
:
|
mkdir build
cd build
cmake -GNinja -DDD4HEP_USE_GEANT4=OFF -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=OFF -DBUILD_TESTING=ON -DDD4HEP_USE_XERCESC=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 ..
ninja
ninja install
. ../bin/thisdd4hep.sh
ctest --output-on-failure -j4
cd ../examples/
mkdir build
cd build
cmake -GNinja -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_XERCESC=OFF -DCMAKE_CXX_STANDARD=20 ..
ninja
ninja install
ctest --output-on-failure -E t_ClientTests_Check_Shape_Eightpoint_Reflect_DetElement
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment