From 305f75b0e76669c271791dfce566520a3a6f8d87 Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 19 Apr 2024 18:29:38 -0400 Subject: [PATCH] ci: try to fix cargo-deb arm64 stripping Signed-off-by: strawberry --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4416554..b357b6cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,12 +106,12 @@ jobs: max-parallel: 3 matrix: target: [ - "static-x86_64-unknown-linux-musl", - "static-x86_64-unknown-linux-musl-jemalloc", - "static-x86_64-unknown-linux-musl-hmalloc", - "static-aarch64-unknown-linux-musl", - "static-aarch64-unknown-linux-musl-jemalloc", - "static-aarch64-unknown-linux-musl-hmalloc", + "x86_64-unknown-linux-musl", + "x86_64-unknown-linux-musl-jemalloc", + "x86_64-unknown-linux-musl-hmalloc", + "aarch64-unknown-linux-musl", + "aarch64-unknown-linux-musl-jemalloc", + "aarch64-unknown-linux-musl-hmalloc", ] steps: @@ -179,15 +179,15 @@ jobs: - name: Build static artifacts run: | - ./bin/nix-build-and-cache .#${{ matrix.target }} + ./bin/nix-build-and-cache .#static-${{ matrix.target }} mkdir -p target/release cp -v -f result/bin/conduit target/release - direnv exec . cargo deb --no-build --output target/debian/${{ matrix.target }}.deb + direnv exec . cargo deb --no-build --target=${{ matrix.target }} --output target/debian/${{ matrix.target }}.deb - name: Upload static artifacts uses: actions/upload-artifact@v4 with: - name: ${{ matrix.target }} + name: static-${{ matrix.target }} path: result/bin/conduit if-no-files-found: error