This commit is contained in:
peterino2 2025-10-12 02:17:29 -07:00
parent 5ff0e56321
commit b43a65ae82
1 changed files with 9 additions and 9 deletions

View File

@ -9,13 +9,13 @@ on:
jobs:
build:
runs-on: ${{ matrix.target.os }}
matrix:
target:
- zig: x86_64-linux-gnu
os: self-hosted-linux
target:
- zig: x86_64-windows
os: self-hosted-windows
strategy:
matrix:
target:
- zig: x86_64-linux-gnu
os: self-hosted-linux
- zig: x86_64-windows
os: self-hosted-windows
steps:
- name: Checkout repository
@ -25,13 +25,13 @@ jobs:
- name: Build projects
working-directory: ./projects
run: zig build install -Dtarget=${{ matrix.target }}
run: zig build install -Dtarget=${{ matrix.target.zig }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: build-artifacts
name: build-artifacts-${{ matrix.target.zig }}
path: |
projects/zig-out/
retention-days: 7