Skip to content

Build test

Build test #4

Workflow file for this run

name: Build test
on:
workflow_dispatch:
pull_request:
release:
types:
- published
jobs:
build_wheels:
# env:
# CIBW_ARCHS: all
name: Build wheels on ${{ matrix.os }}, ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
- ubuntu-latest:

Check failure on line 18 in .github/workflows/build_wheel.yml

View workflow run for this annotation

GitHub Actions / Build test

Invalid workflow file

The workflow is not valid. .github/workflows/build_wheel.yml (Line: 18, Col: 7): A sequence was not expected
arch:
- "x86_64"
- "i686"
- "aarch64"
- "ppc64le"
- "s390x"
- macos-latest:
arch:
- "x86_64"
- "arm64"
- "universal2"
- windows-latest:
arch:
- "AMD64"
- "x86"
- "ARM64"
steps:
- name: Set up QEMU
if: matrix.arch == 'aarch64' | matrix.arch == 'ppc64le' | matrix.arch == 's390x'
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build sdist
run: pipx run build --sdist
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz