mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
ci: install musl target via rust-toolchain.toml file (#1664)
Targets specified in the `rust-toolchain.toml` file are automatically installed by `rustup`. This avoid setup steps for other devs and also simplifies the CI setup. To be able to compile native code to musl, we do need `musl-gcc` which comes with the `musl-tools` package on ubuntu.
This commit is contained in:
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ./rust
|
||||
- run: rustup target add x86_64-unknown-linux-musl
|
||||
- run: sudo apt-get install -y musl-tools
|
||||
- run: cargo build --bin relay --target x86_64-unknown-linux-musl
|
||||
|
||||
relay_smoke:
|
||||
|
||||
Reference in New Issue
Block a user