diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 8a68fa4..72ee5ef 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -10,6 +10,7 @@ jobs: matrix: target: - x86_64-unknown-linux-gnu + - x86_64-unknown-linux-musl - x86_64-pc-windows-msvc - x86_64-apple-darwin include: @@ -21,6 +22,14 @@ jobs: strip: true compress: true cargo_flags: "" + - os: ubuntu-latest + target: x86_64-unknown-linux-musl + artifact_name: target/x86_64-unknown-linux-musl/release/imgurs + release_name: x86_64-unknown-linux-musl + cross: true + strip: true + compress: true + cargo_flags: "" - os: windows-latest target: x86_64-pc-windows-msvc artifact_name: target/x86_64-pc-windows-msvc/release/imgurs.exe diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..661143e --- /dev/null +++ b/Cross.toml @@ -0,0 +1,2 @@ +[target.x86_64-unknown-linux-musl] +image = "rustembedded/cross:x86_64-unknown-linux-musl-0.1.16"