Skip to content

feat: add free-threading example #199

feat: add free-threading example

feat: add free-threading example #199

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-latest, windows-latest]
session: [dist, test]
name: ${{ matrix.session }} on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: awvwgk/setup-fortran@main
id: setup-fortran
if: runner.os != 'Windows' # We aren't using this yet, and takes 4 mins to setup
with:
compiler: gcc
version: 11
- uses: yezz123/setup-uv@v4
- uses: wntrblm/nox@2024.04.15
- run: nox -s ${{ matrix.session }}
free-threading:
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, windows-latest]
name: cibw on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: pypa/cibuildwheel@v2.18
working-directory: projects/hello-free-threading
env:
CIBW_PRERELEASE_PYTHONS: True

Check failure on line 53 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 53, Col: 7): Unexpected value 'working-directory'
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) }}