From 22f5c91599f7ca07859e64b11ebe6cc78db7bf47 Mon Sep 17 00:00:00 2001 From: Li Date: Sun, 17 Jul 2022 20:31:22 +1200 Subject: [PATCH] Fix arm cross compile --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3df5d0..12e17d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,10 @@ jobs: - name: Install utils run: | sudo apt update - sudo apt install -y clang zlib1g-dev dos2unix binutils-aarch64-linux-gnu + sudo apt install -y clang zlib1g-dev dos2unix binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-arm-linux-gnueabi + wget https://raw.githubusercontent.com/dotnet/runtime/main/eng/common/cross/build-rootfs.sh -O build-rootfs.sh + chmod +x build-rootfs.sh + ./build-rootfs.sh BuildArch arm64 - name: Restore dependencies run: | dotnet restore LibHISP