Skip to content

debug CI

debug CI #276

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

(Line: 17, Col: 7): 'matrix' is already defined
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2022, macos-14]
matrix:
include:
- os: macos-12
cibw_archs: x86_64
- os: macos-14
cibw_archs: arm64
- os: ubuntu-20.04
cibw_archs: auto
- os: windows-2022
cibw_archs: auto
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_ARCHS: ${{ matrix.cibw_archs }}
- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os }}-${{ matrix.python-version }}
path: ./wheelhouse/*.whl
# build:
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
# python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install test dependencies
# run: python -m pip install .[test]
# - name: run tests
# run: python run_tests.py