From beeeaf2cea4aaac8927fc4f32332b0da4875519f Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Sat, 27 Apr 2024 04:34:41 +0200 Subject: [PATCH] Improvements to Linux build --- .github/workflows/rust.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a054d5b..028e691 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,8 +15,6 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: jlumbroso/free-disk-space@main - with: - tool-cache: true - name: Install ROCm run: | sudo mkdir --parents --mode=0755 /etc/apt/keyrings @@ -31,11 +29,16 @@ jobs: with: submodules: true - name: Build + # We use tar to unpack .tar.gz we've created because Github actions/upload-artifact + # is broken and will _always_ zip your artifact (even if it is a single file). + # See here: https://github.com/actions/upload-artifact/issues/39 + # and here: https://github.com/actions/upload-artifact/issues/109 run: | cargo xtask zip -r tar -xzf target/release/zluda.tar.gz -C target/release - name: Upload uses: actions/upload-artifact@v4 with: + name: zluda-linux-${{ env.SHA }} path: target/release/zluda