-
Notifications
You must be signed in to change notification settings - Fork 97
29 lines (27 loc) · 907 Bytes
/
mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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=17 -DDD4HEP_RELAX_PYVER=ON ..
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=17 ..
ninja
ninja install
ctest --output-on-failure -E t_ClientTests_Check_Shape_Eightpoint_Reflect_DetElement