From 059d06b00cae097ebf340b218b4eb57357111df8 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Wed, 14 Dec 2022 10:49:33 +0100 Subject: [PATCH] safer spec --- .github/workflows/release.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ada67f5..ec9317de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,26 +34,21 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - arch: [auto, aarch64] + arch: [auto, aarch64, universal2] py: [cp37, cp38, cp39, cp310, cp311] - include: - - os: macos-latest - py: cp38 - arch: universal2 - - os: macos-latest - py: cp39 - arch: universal2 - - os: macos-latest - py: cp310 - arch: universal2 - - os: macos-latest - py: cp311 - arch: universal2 exclude: - os: windows-latest arch: aarch64 - os: macos-latest arch: aarch64 + - os: macos-latest + arch: universal2 + py: cp37 + - os: ubuntu-latest + arch: universal2 + - os: windows-latest + arch: universal2 + env: CIBW_BUILD: ${{ matrix.py }}-* CIBW_ARCHS_LINUX: ${{ matrix.arch }}