Skip to content

Commit c8c8fe9

Browse files
committed
Add installs from wheel and source explicitly
1 parent 572e84c commit c8c8fe9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/install-pypi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,23 @@ jobs:
3333
# # Only seems to be available on Mac for some reason,
3434
# # maybe it will be available when latest images are updated.
3535
# - {compiler: gcc, version: 15}
36+
pip-install-flags: ["--only-binary example-fgen-basic"]
37+
include:
38+
# Source installs on all OS for a stable Python version
39+
# (no need to do more than this)
40+
- pip-install-flags: "--no-binary example-fgen-basic"
41+
python-version: "3.11"
42+
3643
runs-on: "${{ matrix.os }}"
3744
steps:
3845
- name: Set up Python "${{ matrix.python-version }}"
3946
id: setup-python
4047
uses: actions/setup-python@v4
4148
with:
4249
python-version: "${{ matrix.python-version }}"
43-
# While building from source, ensure we have a Fortran compiler
4450
- name: Install Fortran compiler
51+
# When building from source, ensure we have a Fortran compiler
52+
if: matrix.pip-install-flags == '--no-binary example-fgen-basic'
4553
uses: fortran-lang/setup-fortran@v1
4654
id: setup-fortran
4755
with:

0 commit comments

Comments
 (0)