-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] speedup macos-13 and windows octave download
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,25 +31,29 @@ jobs: | |
if: ${{ matrix.os == 'ubuntu-24.04' }} | ||
run: sudo apt-get update && sudo apt-get install -y ocl-icd-libopencl1 opencl-headers ocl-icd-opencl-dev octave-dev upx-ucl | ||
- name: Install dependencies (MacOS only) | ||
if: ${{ runner.os == 'macOS' && matrix.os == 'macos-12' }} | ||
if: ${{ runner.os == 'macOS' && matrix.os != 'macos-14' }} | ||
run: | | ||
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/[email protected]/9.2.0/bin" >> $GITHUB_PATH | ||
- name: Install dependencies (MacOS only) | ||
if: ${{ runner.os == 'macOS' && matrix.os != 'macos-12' }} | ||
if: ${{ runner.os == 'macOS' && matrix.os == 'macos-14' }} | ||
run: | | ||
brew install octave | ||
#brew install upx | ||
- name: Install dependencies (Windows only) | ||
if: ${{ runner.os == 'Windows' }} | ||
run: | | ||
choco install octave.portable --version=9.2.0 | ||
#choco install octave.portable --version=9.2.0 | ||
#echo 'C:\ProgramData\chocolatey\lib\octave.portable\tools\octave\mingw64\bin' >> $GITHUB_PATH | ||
curl --retry 3 -kL http://cdimage.debian.org/mirror/gnu.org/gnu/octave/windows/octave-9.2.0-w64-64.7z --output octave_9.2.7z | ||
7z x octave_9.2.7z -ooctave -y | ||
rm -rf octave_9.2.7z | ||
echo "$PWD/octave/octave-9.2.0-w64-64/mingw64/bin" >> $GITHUB_PATH | ||
choco install upx | ||
choco install mingw --version=8.1.0 | ||
echo 'C:\ProgramData\chocolatey\lib\octave.portable\tools\octave\mingw64\bin' >> $GITHUB_PATH | ||
echo 'C:\ProgramData\Chocolatey\lib\mingw\tools\install\mingw64\bin\' >> $GITHUB_PATH | ||
echo 'MW_MINGW64_LOC=/c/ProgramData/Chocolatey/lib/mingw/tools/install/mingw64' >> $GITHUB_ENV | ||
- name: Install OpenCL.dll and static libraries (Windows only) | ||
|