Skip to content

ci: try to add Windows Fortran #295

ci: try to add Windows Fortran

ci: try to add Windows Fortran #295

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_COLOR: 3
jobs:
checks:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-13, windows-latest]
session: [dist, test]
name: ${{ matrix.session }} on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: gcc
- uses: astral-sh/setup-uv@v3
- run: uvx nox -s ${{ matrix.session }}
free-threading:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, windows-latest, macos-13, macos-14]
name: cibw on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: pypa/cibuildwheel@v2.21
with:
package-dir: projects/hello-free-threading
env:
CIBW_PRERELEASE_PYTHONS: True
pass:
if: always()
needs: [checks]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}