Skip to content

Commit 197697f

Browse files
committed
Try again
1 parent 4a1ebd0 commit 197697f

File tree

1 file changed

+24
-13
lines changed

1 file changed

+24
-13
lines changed

.github/workflows/install-pypi.yaml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,38 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
25+
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
2626
# Test against all security and bugfix versions: https://devguide.python.org/versions/
2727
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
2828
# Check both 'library' install and the 'application' (i.e. locked) install
29-
install-target: ["example-fgen-basic", "example-fgen-basic[locked]"]
30-
pip-install-flags: ["--only-binary example-fgen-basic"]
31-
toolchain: [ "not_used" ]
29+
install-target: [ "example-fgen-basic", "example-fgen-basic[locked]" ]
30+
pip-install-flags: [ "--only-binary example-fgen-basic" ]
31+
toolchain: "no-toolchain"
3232
include:
3333
# Source installs on all OS for a stable Python version
3434
# (no need to do more than this)
35-
- os: ["ubuntu-latest", "macos-latest", "windows-latest"]
35+
# (duplicated as I can't see how to write this more succintly)
36+
- os: "ubuntu-latest"
3637
python-version: "3.11"
37-
install-target: ["example-fgen-basic", "example-fgen-basic[locked]"]
38+
install-target: "example-fgen-basic"
3839
pip-install-flags: "--no-binary example-fgen-basic"
39-
toolchain:
40-
# TODO: consider adding other compilers to our matrix
41-
# (see https://github.com/fortran-lang/setup-fortran)
42-
- {compiler: gcc, version: 13}
43-
# # Only seems to be available on Mac for some reason,
44-
# # maybe it will be available when latest images are updated.
45-
# - {compiler: gcc, version: 15}
40+
# TODO: consider adding other compilers
41+
# (see https://github.com/fortran-lang/setup-fortran)
42+
toolchain: { compiler: gcc, version: 13 }
43+
- os: "macos-latest"
44+
python-version: "3.11"
45+
install-target: "example-fgen-basic"
46+
pip-install-flags: "--no-binary example-fgen-basic"
47+
# TODO: consider adding other compilers
48+
# (see https://github.com/fortran-lang/setup-fortran)
49+
toolchain: { compiler: gcc, version: 13 }
50+
- os: "windows-latest"
51+
python-version: "3.11"
52+
install-target: "example-fgen-basic"
53+
pip-install-flags: "--no-binary example-fgen-basic"
54+
# TODO: consider adding other compilers
55+
# (see https://github.com/fortran-lang/setup-fortran)
56+
toolchain: { compiler: gcc, version: 13 }
4657

4758
steps:
4859
- name: Set up Python "${{ matrix.python-version }}"

0 commit comments

Comments
 (0)