Skip to content

Commit

Permalink
[CI] install octave via conda on macos to avoid hanged install
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 12, 2023
1 parent 33263de commit d2ff26a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
- name: Install dependencies
run: |
[[ "$RUNNER_OS" == "Linux" ]] && sudo apt-get update && sudo apt-get install -y octave
[[ "$RUNNER_OS" == "macOS" ]] && brew install octave
if [[ "$RUNNER_OS" == "macOS" ]]; then
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install octave
fi
if [[ "$RUNNER_OS" == "Windows" ]]; then
curl --retry 3 -kL http://cdimage.debian.org/mirror/gnu.org/gnu/octave/windows/octave-7.3.0-w64-64.7z --output octave_7.3.0.7z
7z x octave_7.3.0.7z -ooctave -y
Expand Down

0 comments on commit d2ff26a

Please sign in to comment.