ZopfliPy 1.10 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: | |
- Linux | |
- macOS | |
- Windows | |
include: | |
- platform: Linux | |
os: ubuntu-latest | |
- platform: macOS | |
os: macos-latest | |
- platform: Windows | |
os: windows-latest | |
name: Build on ${{ matrix.platform }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Build | |
uses: pypa/[email protected] | |
env: | |
CIBW_SKIP: pp* *musllinux* | |
CIBW_ARCHS_MACOS: x86_64 universal2 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist-${{ matrix.platform }} | |
path: wheelhouse | |
merge: | |
name: Merge artifacts | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Merge artifacts | |
uses: actions/upload-artifact/merge@v4 | |
with: | |
name: dist | |
delete-merged: true |