Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ci release aarch64 linux #184

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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