From 7d33c144a5cd39928658e85d5b46f11a9e0b271d Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Tue, 12 Nov 2024 22:35:13 -0500 Subject: [PATCH] [ci] disable octave download on macos --- .github/workflows/build_all.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 8098a022..d99e9539 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -14,7 +14,7 @@ jobs: name: Build All strategy: matrix: - os: [ubuntu-20.04, macos-12, windows-2019] + os: [ubuntu-20.04, macos-13, windows-2019] runs-on: ${{ matrix.os }} defaults: run: @@ -45,11 +45,11 @@ jobs: #conda config --add channels conda-forge #conda config --set channel_priority strict #conda install octave - curl -L -o Octave-9.2-Intel.dmg --insecure https://github.com/octave-app/octave-app/releases/download/v9.2/Octave-9.2-Intel.dmg - xattr -c Octave-*.dmg - sudo hdiutil attach Octave-9.2-Intel.dmg - sudo cp -a /Volumes/Octave\ 9.2/Octave-9.2.app /Applications - echo "/Applications/Octave-9.2.app/Contents/Resources/usr/Cellar/octave-octapp@9.2.0/9.2.0/bin" >> $GITHUB_PATH + #curl -L -o Octave-9.2-Intel.dmg --insecure https://github.com/octave-app/octave-app/releases/download/v9.2/Octave-9.2-Intel.dmg + #xattr -c Octave-*.dmg + #sudo hdiutil attach Octave-9.2-Intel.dmg + #sudo cp -a /Volumes/Octave\ 9.2/Octave-9.2.app /Applications + #echo "/Applications/Octave-9.2.app/Contents/Resources/usr/Cellar/octave-octapp@9.2.0/9.2.0/bin" >> $GITHUB_PATH brew link --force libomp brew install --cask lazarus echo "/Applications/Lazarus/" >> $GITHUB_PATH @@ -195,7 +195,7 @@ jobs: zip -FSr --symlink packages/mcxlab-${{ env.RELEASE_TAG }}.zip mcxlab fi - name: Upload mcxlab package - if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-12' || matrix.os == 'windows-2019' }} + if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-13' || matrix.os == 'windows-2019' }} uses: actions/upload-artifact@v3 with: name: all-mcx-packages @@ -225,7 +225,7 @@ jobs: zip -FSr --symlink mcx/packages/mcx-${{ env.RELEASE_TAG }}.zip mcx -x 'mcx/packages*' fi - name: Upload mcx package - if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-12' || matrix.os == 'windows-2019' }} + if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-13' || matrix.os == 'windows-2019' }} uses: actions/upload-artifact@v3 with: name: all-mcx-packages