From 9f01710e665a152f88b394180888c7b0ecf01b53 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 15 Sep 2026 18:50:13 +0200 Subject: [PATCH] Add required Windows CI --- .github/workflows/test.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7f2745..892df53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,30 @@ permissions: contents: read jobs: - test: + linux: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 - uses: prantlf/setup-v-action@v4 - run: v test . + + windows: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v7 + - uses: prantlf/setup-v-action@v4 + - name: Test with the Microsoft C compiler + run: v -cc msvc test . + + test: + if: always() + needs: [linux, windows] + runs-on: ubuntu-24.04 + steps: + - name: Verify required platforms + env: + LINUX_RESULT: ${{ needs.linux.result }} + WINDOWS_RESULT: ${{ needs.windows.result }} + run: | + test "$LINUX_RESULT" = success + test "$WINDOWS_RESULT" = success