Skip to content

Commit

Permalink
[MRG] fixing cross-platform cibuildwheel action for release (#2384)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb authored Dec 2, 2022
1 parent 6f25fbf commit fa46307
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .ci/install_cargo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#! /bin/sh
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=stable
rustup show
export PATH="$HOME/.cargo/bin:$PATH"
rustc -V
rustup target add aarch64-apple-darwin

export CARGO_NET_GIT_FETCH_WITH_CLI=true
cargo update
4 changes: 3 additions & 1 deletion .github/workflows/build_wheel_all_archs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: cibuildwheel
name: cibuildwheel_ubuntu

on:
pull_request: # CTB remove before merge!
push:
branches: [latest]
tags: v*
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
CIBW_ENVIRONMENT_MACOS: ${{ matrix.macos_target }}
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
CARGO_NET_GIT_FETCH_WITH_CLI: true

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit fa46307

Please sign in to comment.