Skip to content

Test Build

Test Build #55

Workflow file for this run

# This tries to build packages, and tests the packages.
# It runs on every push to branches following the pattern v*.*.*.
# It makes sure that everything will run when the version is released.
name: Test Build
on:
workflow_dispatch:
pull_request:
branches:
- v*.*.*
- build-*
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Build wheels
# 2.4 is too low (can't build for macos, 2.16 is too high (OpenSSL issues)
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "x86_64 arm64"
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build sdist
run: pipx run build --sdist