Skip to content

Commit 851b233

Browse files
committed
Update macosx test to use the latest gcc versions like pysteps does.
1 parent 6161b70 commit 851b233

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/run_tests.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,20 @@ jobs:
3232
python -m pip install --upgrade pip
3333
pip install -r requirements_dev.txt
3434
35-
# - name: Install pysteps on MacOS
36-
# if: matrix.os == 'macos-latest'
37-
# working-directory: ${{github.workspace}}
38-
# env:
39-
# CC: gcc-9
40-
# CXX: g++-9
41-
# CXX1X: g++-9
42-
# HOMEBREW_NO_INSTALL_CLEANUP: 1
43-
# run: |
44-
# brew update-reset
45-
# brew update
46-
# brew install gcc@9
47-
# gcc-9 --version
48-
# pip install git+https://github.com/pySTEPS/pysteps
49-
# python -c "import pysteps"
35+
- name: Install pysteps on MacOS
36+
if: matrix.os == 'macos-latest'
37+
working-directory: ${{github.workspace}}
38+
env:
39+
CC: gcc-13
40+
CXX: g++-13
41+
CXX1X: g++-13
42+
HOMEBREW_NO_INSTALL_CLEANUP: 1
43+
run: |
44+
brew update-reset
45+
brew update
46+
gcc-13 --version || brew install gcc@13
47+
pip install git+https://github.com/pySTEPS/pysteps
48+
python -c "import pysteps"
5049
5150
- name: Install pysteps on Windows and Linux
5251
if: matrix.os != 'macos-latest'

0 commit comments

Comments
 (0)