Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuhone committed Feb 1, 2024
1 parent 812db65 commit 6732b2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: s-weigand/setup-conda@v1.1.1
- uses: s-weigand/setup-conda@v1
with:
update-conda: true
conda-channels: conda-forge
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.16.5
with:
output-dir: dist
env:
CIBW_BUILD: "cp39-* cp310-* cp311-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-musllinux_*" # numpy doesn't have wheels for musllinux so we can't build some quickly and without bloating
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "auto"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: auto64
MACOSX_DEPLOYMENT_TARGET: "10.9" # as of CIBW 2.9, this is the default value, pin it so it can't be bumped silently
CIBW_ENVIRONMENT: "LDFLAGS='-static-libstdc++'"
CIBW_BUILD_VERBOSITY: 1
CIBW_BEFORE_BUILD: "rm -rf build/" # working around .so files accumulation between builds leading up to bloated wheels
Expand Down

0 comments on commit 6732b2f

Please sign in to comment.