File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - target : aarch64-unknown-linux-gnu
2727 os : ubuntu-22.04
2828 name : mhrv-rs-linux-arm64
29+ - target : arm-unknown-linux-gnueabihf
30+ os : ubuntu-latest
31+ name : mhrv-rs-raspbian-armhf
2932 - target : x86_64-apple-darwin
3033 os : macos-latest
3134 name : mhrv-rs-macos-amd64
7376 echo '[target.aarch64-unknown-linux-gnu]' >> ~/.cargo/config.toml
7477 echo 'linker = "aarch64-linux-gnu-gcc"' >> ~/.cargo/config.toml
7578
79+ - name : Install armhf cross-compile toolchain (Linux only)
80+ if : matrix.target == 'arm-unknown-linux-gnueabihf'
81+ run : |
82+ sudo apt-get update
83+ sudo apt-get install -y gcc-arm-linux-gnueabihf
84+ echo '[target.arm-unknown-linux-gnueabihf]' >> ~/.cargo/config.toml
85+ echo 'linker = "arm-linux-gnueabihf-gcc"' >> ~/.cargo/config.toml
7686
7787 - name : Install Windows MinGW toolchain
7888 if : matrix.target == 'x86_64-pc-windows-gnu'
@@ -120,7 +130,7 @@ jobs:
120130 # we still ship the CLI. We also skip the UI on musl targets (OpenWRT etc.
121131 # are headless, bundling X11 makes no sense).
122132 - name : Build UI
123- if : matrix.target != 'aarch64-unknown-linux-gnu' && !endsWith(matrix.target, '-linux-musl')
133+ if : matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 'arm-unknown-linux-gnueabihf' && !endsWith(matrix.target, '-linux-musl')
124134 run : cargo build --release --target ${{ matrix.target }} --features ui --bin mhrv-rs-ui
125135
126136 - name : Package (unix)
You can’t perform that action at this time.
0 commit comments