Skip to content

Prepare changelog for next release #20

Prepare changelog for next release

Prepare changelog for next release #20

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Build:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'docs-only') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.10"]
steps:
- uses: compas-dev/compas-actions.build@v4
with:
invoke_lint: true
use_conda: true
check_import: true
python: ${{ matrix.python }}
build_wheels:
name: Test wheel building on ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
platform: manylinux
- os: macos-latest
platform: mac
- os: windows-latest
platform: windows
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install cibuildwheel
run: pipx install cibuildwheel==2.23.1
- name: Build wheels
run: cibuildwheel --output-dir wheelhouse .
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.platform }}
path: wheelhouse/*.whl
build_sdist:
name: Test source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build SDist
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz