From e6ae726304f4117be7eb73745ec5e26955565602 Mon Sep 17 00:00:00 2001 From: Dedy Martadinata Supriyadi Date: Mon, 1 Aug 2022 19:28:42 +0700 Subject: [PATCH] manual fetch aarch64 --- .github/workflows/docker-build-static.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build-static.yml b/.github/workflows/docker-build-static.yml index 30dfa11..e59b2e4 100644 --- a/.github/workflows/docker-build-static.yml +++ b/.github/workflows/docker-build-static.yml @@ -150,7 +150,7 @@ jobs: build-aarch64: runs-on: ubuntu-latest container: - image: martadinata666/debian:rust-dev + image: rust:1.62 env: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-musl-gcc @@ -175,7 +175,12 @@ jobs: target key: lldap-bin-aarch64-${{ hashFiles('**/Cargo.lock') }} restore-keys: | - lldap-bin-aarch64- + lldap-bin-aarch64- + - name: fetch musl-gcc + run: | + wget -c https://musl.cc/aarch64-linux-musl-cross.tgz + tar zxf ./x86_64-linux-musl-cross.tgz -C /opt + echo "/opt/aarch64-linux-musl-cross:/opt/aarch64-linux-musl-cross/bin" >> $GITHUB_PATH # - name: build # run: ./build-arm64.sh - name: add musl aarch64 target