Fix arm cross compile

This commit is contained in:
Li 2022-07-17 20:31:22 +12:00
parent 7f3c7ba845
commit 22f5c91599

View file

@ -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