Skip to content

Commit

Permalink
Try debug Gate compilation on macos changing cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaudier committed Jul 24, 2024
1 parent 0628e95 commit 3dee074
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
options: [none, rtk, torch, optic]
exclude:
- os: macos-latest
options: torch

env:
ROOT_VERSION: 'v6-26-08'
ROOT_VERSION: 'v6-32-02'
GEANT4_VERSION: 'v11.2.1'
ITK_VERSION: 'v5.3.0'
ROOT_DIR: $(HOME)/software/root
Expand All @@ -38,8 +41,8 @@ jobs:
uses: actions/cache@v3
with:
path: ~/software
key: ${{ matrix.os }}-geant4-${{ env.GEANT4_VERSION }}-root-${{ env.ROOT_VERSION }}-build4
restore-keys: ${{ matrix.os }}-geant4-${{ env.GEANT4_VERSION }}-root-${{ env.ROOT_VERSION }}-build4
key: ${{ matrix.os }}-geant4-${{ env.GEANT4_VERSION }}-root-${{ env.ROOT_VERSION }}-build1
restore-keys: ${{ matrix.os }}-geant4-${{ env.GEANT4_VERSION }}-root-${{ env.ROOT_VERSION }}-build1
- name: Install dependencies
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
Expand Down Expand Up @@ -129,8 +132,8 @@ jobs:
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.10.1%2Bcpu.zip
unzip libtorch-cxx11-abi-shared-with-deps-1.10.1+cpu.zip
elif [ "${{ matrix.os }}" == 'macos-latest' ]; then
wget https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.10.1.zip
unzip libtorch-macos-1.10.1.zip
wget https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.2.0.zip
unzip libtorch-macos-arm64-2.2.0.zip
fi
fi
if [ "${{ matrix.options }}" == 'rtk' ]; then
Expand Down

0 comments on commit 3dee074

Please sign in to comment.