Skip to content

Bump joerick/cibuildwheel from 2.23.2 to 3.0.0 #63

Bump joerick/cibuildwheel from 2.23.2 to 3.0.0

Bump joerick/cibuildwheel from 2.23.2 to 3.0.0 #63

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install build tools
run: sudo apt-get install build-essential cmake
- name: Test C library
run: |
mkdir build && cd build
cmake -DWITH_SANITIZER=ON .. && cmake --build . && ./gfc_test
- name: Test Python bindings
run: |
pip install -e .
pip install pytest
pytest
pypi:
needs: [test]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: joerick/cibuildwheel@v3.0.0
with:
output-dir: dist
- uses: dioptra-io/publish-python-action@v1
with:
password: ${{ secrets.PYPI_TOKEN }}
upload: ${{ startsWith(github.ref, 'refs/tags/v') }}
wheel: false