File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,21 @@ jobs:
2424 submodules : recursive
2525 - name : Install rust toolchain
2626 uses : dtolnay/rust-toolchain@1.74
27- - name : Build
28- run : cargo build --lock --release --manifest-path cargo-concordium/Cargo.toml
27+ - name : Build on ubuntu
28+ if : matrix.platform == 'ubuntu-latest'
29+ run : |
30+ rustup target add x86_64-unknown-linux-musl
31+ cargo build --release --manifest-path cargo-concordium/Cargo.toml --target x86_64-unknown-linux-musl
32+ - name : Build on other platforms
33+ if : matrix.platform != 'ubuntu-latest'
34+ run : cargo build --release --manifest-path cargo-concordium/Cargo.toml
2935 - name : Upload artifact
3036 uses : actions/upload-artifact@v4
3137 with :
3238 name : binary-${{ matrix.platform }}
3339 path : |
3440 cargo-concordium/target/release/cargo-concordium
41+ cargo-concordium/target/release/x86_64-unknown-linux-musl/cargo-concordium
3542 cargo-concordium/target/release/cargo-concordium.exe
3643
3744 # Attach binaries to the release identified by the tag.
You can’t perform that action at this time.
0 commit comments