From eb3d7cf5075978891e90e8910b70dec20bd10f50 Mon Sep 17 00:00:00 2001 From: Andrzej Janik Date: Mon, 7 Apr 2025 23:19:26 +0200 Subject: [PATCH] Add ZLUDA build @ Windows --- .github/workflows/zluda.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/zluda.yml b/.github/workflows/zluda.yml index 3fead36..4212e26 100644 --- a/.github/workflows/zluda.yml +++ b/.github/workflows/zluda.yml @@ -44,3 +44,23 @@ jobs: with: name: zluda-linux-${{ env.SHORT_SHA }} path: target/release-lto/zluda +build_windows: + name: Build (Windows) + runs-on: windows-2019 + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: Swatinem/rust-cache@v2 + - name: Build + run: | + cargo xtask zip --profile release-lto + Expand-Archive -Path target/release-lto/zluda.zip -DestinationPath target/release-lto + - name: Set revision hash + run: echo "SHORT_SHA=$("${{ github.sha }}".SubString(0, 7))" >> $env:GITHUB_ENV + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: zluda-windows-${{ env.SHORT_SHA }} + path: target/release-lto/zluda +