File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 2424 steps :
2525 - uses : actions/checkout@v4
2626
27- # - name: Install brew dependencies on MacOS
28- # if: runner.os == 'macOS'
29- # run: .github/bin/install-deps-macos.sh
27+ - name : Install brew dependencies on MacOS
28+ if : runner.os == 'macOS'
29+ run : .github/bin/install-deps-macos.sh
3030
3131 - name : Get number of CPU cores
3232 uses : SimenB/github-actions-cpu-cores@v2
@@ -35,20 +35,18 @@ jobs:
3535 - name : Build Geant4
3636 shell : bash
3737 run : |
38+ git clone https://gitlab.cern.ch/geant4/geant4.git
39+ cd geant4
40+ git checkout ${{ matrix.geant4-version }}
41+ cd ../
42+ mkdir geant4-build
3843 mkdir geant4-${{ matrix.geant4-version }}
44+ cd geant4-build
45+ cmake -DCMAKE_INSTALL_PREFIX=../geant4-${{ matrix.geant4-version }} ../geant4 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DGEANT4_USE_RAYTRACER_X11=ON
46+ make -j${{ steps.cpu-cores.outputs.count }}
47+ make install
48+ cd ../
3949 tar vzcf geant4-${{ matrix.os }}-${{ matrix.geant4-version }}.tgz geant4-${{ matrix.geant4-version }}
40- # git clone https://gitlab.cern.ch/geant4/geant4.git
41- # cd geant4
42- # git checkout ${{ matrix.geant4-version }}
43- # cd ../
44- # mkdir geant4-build
45- # mkdir geant4-${{ matrix.geant4-version }}
46- # cd geant4-build
47- # cmake -DCMAKE_INSTALL_PREFIX=../geant4-${{ matrix.geant4-version }} ../geant4 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DGEANT4_USE_RAYTRACER_X11=ON
48- # make -j${{ steps.cpu-cores.outputs.count }}
49- # make install
50- # cd ../
51- # tar vzcf geant4-${{ matrix.os }}-${{ matrix.geant4-version }}.tgz geant4-${{ matrix.geant4-version }}
5250
5351 - name : Create Release
5452 id : create_release
You can’t perform that action at this time.
0 commit comments