diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f330275..124d087 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,6 +40,17 @@ jobs: exit 1 fi + - name: Setup cargo config for cross-compilation + run: | + mkdir -p .cargo + cat > .cargo/config.toml << 'EOF' + [target.x86_64-unknown-linux-musl] + linker = "musl-gcc" + + [target.aarch64-unknown-linux-musl] + linker = "aarch64-linux-gnu-gcc" + EOF + - run: cargo test --verbose - uses: rust-lang/crates-io-auth-action@041cce5b4b821e6b0ebc9c9c38b58cac4e34dcc2 # v1.0.2 diff --git a/Cargo.toml b/Cargo.toml index 1195e32..ddfb4ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "krust" -version = "0.0.1" +version = "0.0.2" edition = "2021" authors = ["Jason Hall "] description = "A container image build tool for Rust applications"