Skip to content

Commit 3a4e9ea

Browse files
committed
Fix deployment
1 parent 2649988 commit 3a4e9ea

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
# os: [manylinux, macos-latest] #, macos-14]
22-
# os: [ubuntu-latest, macos-14]
2321
platform:
24-
#- [ubuntu-latest, manylinux, x86_64]
22+
- [ubuntu-latest, manylinux, x86_64]
2523
- [macos-14, macosx, arm64]
26-
python-version: ["3.12"] #[ "3.11", "3.12", "3.13" ]
24+
python-version: [ "3.11", "3.12", "3.13" ]
2725
toolchain:
2826
- {fortran-compiler: gcc, fc-version: 13}
2927

@@ -49,22 +47,14 @@ jobs:
4947
with:
5048
cmake-version: '3.24.x'
5149

52-
- uses: fortran-lang/setup-fortran@v1
50+
- name: actions-setup-fortran
51+
uses: fortran-lang/setup-fortran@v1
5352
id: setup-fortran
5453
with:
5554
compiler: ${{ matrix.toolchain.fortran-compiler }}
5655
version: ${{ matrix.toolchain.fc-version }}
5756

58-
59-
# - name: Build wheels
60-
# uses: pypa/cibuildwheel@v2.22.0
61-
62-
# - name: Install cibuildwheel
63-
# run: python -m pip install cibuildwheel==2.22.0
64-
# - name: Build wheels
65-
# run: python -m cibuildwheel --output-dir wheelhouse
6657

67-
6858
- name: Install python dependencies
6959
run: |
7060
python --version
@@ -75,16 +65,12 @@ jobs:
7565
python -m pip install cibuildwheel==2.22.0 --user
7666
7767
- name: Build a binary wheel distribution
78-
# run: python -m build --wheel
7968
run: python -m cibuildwheel --output-dir wheelhouse
8069

8170
- name: Store the distribution wheels
8271
uses: actions/upload-artifact@v4
8372
with:
8473
name: raffle-wheels-${{ matrix.python-version }}-${{ matrix.platform[0] }}-${{ matrix.toolchain.fortran-compiler }}${{ matrix.toolchain.fc-version }}
85-
# path: dist/*.whl
86-
# name: raffle-wheels-${{ matrix.os }}-${{ strategy.job-index }}
87-
# name: raffle-wheels-${{ matrix.platform[0] }}-${{ strategy.job-index }}
8874
path: ./wheelhouse/*.whl
8975

9076
build_sdist:

0 commit comments

Comments
 (0)