diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eede25bd1..47f126617 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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