Skip to content

Commit

Permalink
Try 'rustup target add' as extra step for x-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Mar 31, 2023
1 parent 3cf0372 commit 982574c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,12 @@ jobs:
rust: stable
target: x86_64-pc-windows-msvc
cross: false
# 23.03: build issues
# - build: aarch64-macos
# os: macos-latest
# rust: stable
# target: aarch64-apple-darwin
# cross: false
# skip_tests: true # x86_64 host can't run aarch64 code
- build: aarch64-macos
os: macos-latest
rust: stable
target: aarch64-apple-darwin
cross: false
skip_tests: true # x86_64 host can't run aarch64 code
# - build: x86_64-win-gnu
# os: windows-2019
# rust: stable-x86_64-gnu
Expand Down Expand Up @@ -120,6 +119,9 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}

- name: Ensure the target '${{ matrix.target }}' is installed
run: rustup target add ${{ matrix.target }}

# Install a pre-release version of Cross
# TODO: We need to pre-install Cross because we need cross-rs/cross#591 to
# get a newer C++ compiler toolchain. Remove this step when Cross
Expand Down

0 comments on commit 982574c

Please sign in to comment.