Pretty job names

This commit is contained in:
Andrew Cassidy 2022-04-11 21:48:22 -07:00
parent b440543de3
commit 3fdfc3ecaa

View File

@ -45,15 +45,15 @@ jobs:
path: dist/*.tar.gz path: dist/*.tar.gz
build-wheels: build-wheels:
name: Build Wheels on ${{ matrix.os }}-${{ matrix.arch[0] }} name: Build Wheels on ${{ matrix.os }} ${{ matrix.arch[0] }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ macos-11, windows-latest, ubuntu-latest ] os: [ macos-11, windows-latest, ubuntu-latest ]
arch: [ [ x86_64, AMD64, x86_64 ] ] #[mac, windows, linux] arch names arch: [ ['x86', 'x86_64', 'AMD64', 'x86_64' ] ] #[suffix, mac, windows, linux] arch names
include: include:
- os: ubuntu-latest - os: ubuntu-latest
arch: [ arm64, arm64, aarch64 ] arch: [ 'ARM', 'arm64', 'ARM64', 'aarch64' ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -75,7 +75,7 @@ jobs:
- name: Install QEMU - name: Install QEMU
# install QEMU if building for arm linux # install QEMU if building for arm linux
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
if: runner.os == 'linux' && matrix.arch[2] == 'aarch64' if: runner.os == 'linux' && matrix.arch[3] == 'aarch64'
with: with:
platforms: arm64 platforms: arm64
@ -83,7 +83,7 @@ jobs:
uses: pypa/cibuildwheel@v2.4.0 uses: pypa/cibuildwheel@v2.4.0
env: env:
MACOSX_DEPLOYMENT_TARGET: "10.15" MACOSX_DEPLOYMENT_TARGET: "10.15"
CIBW_ARCHS_LINUX: ${{ matrix.arch[2] }} CIBW_ARCHS_LINUX: ${{ matrix.arch[3] }}
- name: Upload Wheels - name: Upload Wheels
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3