Skip to content

Commit

Permalink
ci: support Universal2 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Feb 5, 2021
1 parent 7bcdd96 commit 51ed15d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,26 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [auto]
type: [Standard]

include:
- os: ubuntu-latest
type: Standard
arch: auto
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_MANYLINUX_I686_IMAGE: manylinux2010

- os: ubuntu-latest
type: ManyLinux1
arch: auto
CIBW_MANYLINUX_X86_64_IMAGE: skhep/manylinuxgcc-x86_64
CIBW_MANYLINUX_I686_IMAGE: skhep/manylinuxgcc-i686

- os: macos-latest
type: Standard
arch: universal2

steps:
- uses: actions/checkout@v1
with:
Expand All @@ -70,13 +77,10 @@ jobs:
CIBW_SKIP: cp27-win* pp27*
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }}
CIBW_ARCH: ${{ matrix.arch }}
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_TEST_SKIP: "pp*macos*"

- name: Show files
run: ls -lh wheelhouse
shell: bash
CIBW_TEST_SKIP: "pp*macos* *universal2:arm64"

- name: Verify clean directory
run: git diff --exit-code
Expand Down Expand Up @@ -119,10 +123,6 @@ jobs:
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND: "pytest {project}/tests"

- name: Show files
run: ls -lh wheelhouse
shell: bash

- name: Verify clean directory
run: git diff --exit-code
shell: bash
Expand Down

0 comments on commit 51ed15d

Please sign in to comment.