diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 861a042..74a4503 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,10 @@ jobs: os: ubuntu-latest - target: aarch64-unknown-linux-musl os: ubuntu-latest-arm-4core + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + - target: aarch64-unknown-linux-gnu + os: ubuntu-latest-arm-4core - target: x86_64-pc-windows-msvc os: windows-latest - target: aarch64-apple-darwin diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1964560..3005988 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,8 @@ jobs: fetch-depth: 0 - name: Set up pixi uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 + with: + activate-environment: true - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 with: key: tests diff --git a/tests/integration_test.rs b/tests/integration_test.rs index e9cb02a..6e166c4 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -85,14 +85,14 @@ async fn test_simple_python(options: Options, required_fs_objects: Vec<&'static let pack_file = unpack_options.pack_file.clone(); let pack_result = pixi_pack::pack(pack_options).await; - assert!(pack_result.is_ok()); - assert!(pack_file.is_file()); + assert!(pack_result.is_ok(), "{:?}", pack_result); assert!(pack_file.exists()); + assert!(pack_file.is_file()); let env_dir = unpack_options.output_directory.join("env"); let activate_file = unpack_options.output_directory.join("activate.sh"); let unpack_result = pixi_pack::unpack(unpack_options).await; - assert!(unpack_result.is_ok()); + assert!(unpack_result.is_ok(), "{:?}", unpack_result); assert!(activate_file.is_file()); assert!(activate_file.exists()); @@ -119,7 +119,7 @@ async fn test_compatibility( let pack_result = pixi_pack::pack(pack_options).await; println!("{:?}", pack_result); - assert!(pack_result.is_ok()); + assert!(pack_result.is_ok(), "{:?}", pack_result); assert!(pack_file.is_file()); assert!(pack_file.exists());