mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-03 14:50:53 +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:
|
with:
|
||||||
name: zluda-linux-${{ env.SHORT_SHA }}
|
name: zluda-linux-${{ env.SHORT_SHA }}
|
||||||
path: target/release-lto/zluda
|
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
Add a link
Reference in a new issue