From 5ff0e5632185839ad52e667c8fce075969336065 Mon Sep 17 00:00:00 2001 From: peterino2 Date: Sun, 12 Oct 2025 02:10:11 -0700 Subject: [PATCH] updating to use matrix --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67f1afe..70f8f72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,14 @@ on: jobs: build: - runs-on: self-hosted + 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 steps: - name: Checkout repository @@ -18,7 +25,7 @@ jobs: - name: Build projects working-directory: ./projects - run: zig build install + run: zig build install -Dtarget=${{ matrix.target }} - name: Upload build artifacts uses: actions/upload-artifact@v4