diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 29b44fad..52155d7e 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -10,10 +10,22 @@ jobs: fail-fast: false matrix: include: + - os: ubuntu-latest + target: x86_64-unknown-linux-gnu - os: ubuntu-latest target: x86_64-unknown-linux-musl + - os: ubuntu-latest + target: aarch64-unknown-linux-gnu - os: ubuntu-latest target: aarch64-unknown-linux-musl + - os: ubuntu-latest + target: i686-unknown-linux-gnu + - os: ubuntu-latest + target: i686-unknown-linux-musl + - os: ubuntu-latest + target: arm-unknown-linux-gnueabihf + - os: ubuntu-latest + target: armv7-unknown-linux-gnueabihf - os: ubuntu-latest target: x86_64-w64-mingw32 - os: macos-13 diff --git a/package.nix b/package.nix index dbc1c205..09af5419 100644 --- a/package.nix +++ b/package.nix @@ -28,14 +28,9 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8="; - CARGO_BUILD_RUSTFLAGS = [ "-Ctarget-feature=+crt-static" ]; - + # unit tests only doCheck = false; - cargoTestFlags = [ - # Only run lib tests (unit tests) - # All other tests are integration tests which should not be run with Nix build - "--lib" - ]; + cargoTestFlags = [ "--lib" ]; nativeBuildInputs = [ ] ++ lib.optional (installManPages || installShellCompletions) installShellFiles;