Skip to content

Commit

Permalink
add macos-arm64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
glehmann committed Feb 7, 2024
1 parent 25ac2c7 commit 6aa3178
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,16 @@ jobs:
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: macos-arm64
os: macos-latest
rust: stable
target: aarch64-apple-darwin
- build: windows-amd64
os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc

# usual build targets
# other usual build targets
- build: stable-x86
os: ubuntu-latest
rust: stable
Expand Down Expand Up @@ -148,6 +152,10 @@ jobs:
curl -LO "https://github.com/cross-rs/cross/releases/download/$CROSS_VERSION/cross-x86_64-unknown-linux-musl.tar.gz"
tar xf cross-x86_64-unknown-linux-musl.tar.gz
echo "CARGO=cross" >> $GITHUB_ENV
- name: Configure target flags
if: matrix.target != ''
run: |
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 6aa3178

Please sign in to comment.