Skip to content

Commit

Permalink
understanding yaml indents
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 2, 2023
1 parent c7f87f1 commit b0cbfa3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-test-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y build-essential ninja-build git curl libexpat-dev libxerces-c-dev
sudo apt-get install -y build-essential git curl libexpat-dev libxerces-c-dev
pip install cmake
- name: Check Cache
Expand All @@ -53,12 +53,17 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: >
git clone https://github.com/Geant4/geant4.git geant4 --depth 1
--branch v${{ matrix.geant4-version }} cmake -G Ninja -B geant4/build
--branch v${{ matrix.geant4-version }}
cmake -B geant4/build
-S geant4 -DCMAKE_INSTALL_PREFIX=geant4-install
-DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release
-DGEANT4_USE_GDML=ON -DGEANT4_INSTALL_EXAMPLES=OFF
-DGEANT4_INSTALL_DATA=OFF -DGEANT4_BUILD_TLS_MODEL=global-dynamic
cmake --build geant4/build -j$(nproc) --target install rm -rf geant4
cmake --build geant4/build -j$(nproc) --target install
rm -rf geant4
- name: Cache Geant4 Installation
if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit b0cbfa3

Please sign in to comment.