Skip to content

Commit

Permalink
fix: ci release aarch64 linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Aug 10, 2022
1 parent 889cf2f commit 1a67034
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,16 +319,6 @@ jobs:
- set-env-path
- setup-sccache
- restore-sccache-cache
- run:
name: Install cargo cross
command: |
set -x
CROSS=/home/circleci/.cargo/bin/cross
if [ -f "$CROSS" ]; then
echo "cargo cross already installed"
else
cargo install cross
fi
- aws-cli/setup:
profile-name: default
- run:
Expand All @@ -355,15 +345,20 @@ jobs:
path: ./target/release/
os: linux
arch: amd64
- run:
name: deps for aarch64_linux
command: |
rustup target add aarch64-unknown-linux-gnu
rustup toolchain install stable-aarch64-unknown-linux-gnu
- run:
name: build aarch64_linux
command: cross build --release -v --target aarch64-unknown-linux-musl
command: cargo build --release -v --target aarch64-unknown-linux-gnu
- push-to-s3:
path: ./target/aarch64-unknown-linux-musl/release/
path: ./target/aarch64-unknown-linux-gnu/release/
os: linux
arch: aarch64
- push-to-s3-latest:
path: ./target/aarch64-unknown-linux-musl/release/
path: ./target/aarch64-unknown-linux-gnu/release/
os: linux
arch: aarch64
- save-sccache-cache
Expand Down

0 comments on commit 1a67034

Please sign in to comment.