From 3fdfc3ecaa6a67fa66907da96e79ae21df6fcc27 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Mon, 11 Apr 2022 21:48:22 -0700 Subject: [PATCH] Pretty job names --- .github/workflows/python-package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 347ab21..ee43eab 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -45,15 +45,15 @@ jobs: path: dist/*.tar.gz build-wheels: - name: Build Wheels on ${{ matrix.os }}-${{ matrix.arch[0] }} + name: Build Wheels on ${{ matrix.os }} ${{ matrix.arch[0] }} runs-on: ${{ matrix.os }} strategy: matrix: 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: - os: ubuntu-latest - arch: [ arm64, arm64, aarch64 ] + arch: [ 'ARM', 'arm64', 'ARM64', 'aarch64' ] steps: - uses: actions/checkout@v3 @@ -75,7 +75,7 @@ jobs: - name: Install QEMU # install QEMU if building for arm linux uses: docker/setup-qemu-action@v1 - if: runner.os == 'linux' && matrix.arch[2] == 'aarch64' + if: runner.os == 'linux' && matrix.arch[3] == 'aarch64' with: platforms: arm64 @@ -83,7 +83,7 @@ jobs: uses: pypa/cibuildwheel@v2.4.0 env: MACOSX_DEPLOYMENT_TARGET: "10.15" - CIBW_ARCHS_LINUX: ${{ matrix.arch[2] }} + CIBW_ARCHS_LINUX: ${{ matrix.arch[3] }} - name: Upload Wheels uses: actions/upload-artifact@v3