Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release workflow to use macos-13 #338

Merged
merged 2 commits into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cibw_archs: "auto64"
#- os: windows-2019
# cibw_archs: "auto32"
- os: macos-11
- os: macos-13
cibw_archs: "universal2"

steps:
Expand All @@ -52,7 +52,8 @@ jobs:
# Use silx wheelhouse: needed for ppc64le
CIBW_ENVIRONMENT_LINUX: "PIP_FIND_LINKS=https://www.silx.org/pub/wheelhouse/ PIP_TRUSTED_HOST=www.silx.org"

CIBW_TEST_REQUIRES: pytest
CIBW_BEFORE_TEST: "pip install --only-binary :all: fabio PyQt5"
CIBW_TEST_EXTRAS: full
CIBW_TEST_COMMAND: pytest {project}/test
# Skip tests for 32bits and emulated architectures, arm64 macos and on Windows
CIBW_TEST_SKIP: "*-*linux_i686 *-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 *-win32 *-win_amd64"
Expand Down Expand Up @@ -87,7 +88,7 @@ jobs:

- name: Install and test sdist
run: |
pip install dist/imaged11*.tar.gz
pip install "$(ls dist/imaged11*.tar.gz)[full]"
pytest test

- uses: actions/upload-artifact@v4
Expand Down
Loading