Skip to content

Commit

Permalink
Merge pull request #14 from SWxTREC/update-builds
Browse files Browse the repository at this point in the history
BLD: Specify F77 compiler explicitly
  • Loading branch information
greglucas authored Feb 26, 2022
2 parents cc4390f + 5018dde commit 263d2d6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[flake8]
exclude = .git,__pycache__,build,dist
per-file-ignores =
# imports not at top of file
setup.py: E402
4 changes: 3 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
os: [windows-latest, ubuntu-latest, macos-latest]
env:
FC: gfortran-9
F77: gfortran-9
F90: gfortran-9
CC: gcc-9
defaults:
Expand All @@ -31,6 +32,7 @@ jobs:
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
echo "FC=gfortran" >> $GITHUB_ENV
echo "F77=gfortran" >> $GITHUB_ENV
echo "F90=gfortran" >> $GITHUB_ENV
echo "CC=gcc" >> $GITHUB_ENV
Expand All @@ -51,7 +53,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp37-* cp38-* cp39-*"
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-*"

- uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, '3.10']
env:
FC: gfortran-9
F77: gfortran-9
F90: gfortran-9
CC: gcc-9
defaults:
Expand All @@ -36,6 +37,7 @@ jobs:
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
echo "FC=gfortran" >> $GITHUB_ENV
echo "F77=gfortran" >> $GITHUB_ENV
echo "F90=gfortran" >> $GITHUB_ENV
echo "CC=gcc" >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
FC: gfortran-9
F77: gfortran-9
F90: gfortran-9
CC: gcc-9
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
runs-on: ubuntu-latest
env:
FC: gfortran-9
F77: gfortran-9
F90: gfortran-9
CC: gcc-9
steps:
Expand Down

0 comments on commit 263d2d6

Please sign in to comment.