mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-19 16:04:44 +00:00
Add ZLUDA build @ Windows
This commit is contained in:
parent
8bead0d648
commit
eb3d7cf507
1 changed files with 20 additions and 0 deletions
20
.github/workflows/zluda.yml
vendored
20
.github/workflows/zluda.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue