Add ZLUDA build @ Windows

This commit is contained in:
Andrzej Janik 2025-04-07 23:19:26 +02:00
parent 8bead0d648
commit eb3d7cf507

View file

@ -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