File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3535 run : |
3636 sudo apt-get update
3737 sudo apt-get install -y libasound2-dev libjack-jackd2-dev libxkbcommon-dev protobuf-compiler
38+ sudo apt-get install -y libasound2-dev:arm64 libjack-jackd2-dev:arm64 libxkbcommon-dev:arm64
3839 sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
3940
4041 - name : Install dependencies (Windows)
@@ -69,10 +70,10 @@ jobs:
6970 if : matrix.platform == 'linux'
7071 working-directory : ./RustApp
7172 run : |
73+ PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_SYSROOT_DIR=/ CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ cargo build --release --target aarch64-unknown-linux-gnu
74+ cargo packager -r -f appimage --target aarch64-unknown-linux-gnu
7275 cargo build --release --target x86_64-unknown-linux-gnu
7376 cargo packager -r -f appimage --target x86_64-unknown-linux-gnu
74- PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_SYSROOT_DIR=/ cargo build --release --target aarch64-unknown-linux-gnu
75- cargo packager -r -f appimage --target aarch64-unknown-linux-gnu
7677
7778 - name : Package (Windows)
7879 if : matrix.platform == 'windows'
Original file line number Diff line number Diff line change @@ -94,3 +94,6 @@ mslnk = "0.1"
9494
9595[target .'cfg(target_os = "windows")' .build-dependencies ]
9696winres = " 0.1"
97+
98+ [target .aarch64-unknown-linux-gnu ]
99+ linker = " aarch64-linux-gnu-gcc"
You can’t perform that action at this time.
0 commit comments