This commit is contained in:
agra
2026-02-09 22:24:06 +02:00
parent 46658673fb
commit a6f0276fa5

View File

@@ -3,6 +3,7 @@ name: Build
on:
push:
branches: [master]
tags: ['v*']
pull_request:
branches: [master]
@@ -37,9 +38,17 @@ jobs:
continue-on-error: true
run: zig build test -Dstatic-llvm -Dllvm-prefix="C:\LLVM\llvm-18.1.8-windows-amd64-msvc17-msvcrt" -Dtarget=x86_64-windows-msvc --summary all
- name: Package
run: Compress-Archive -Path zig-out\bin\* -DestinationPath sx-windows-x86_64.zip
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: sx-windows-x86_64
path: zig-out/bin/
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: sx-windows-x86_64.zip