From 8c4f7672a066a68fce53dd496b61c790b30238d4 Mon Sep 17 00:00:00 2001 From: Lukas Fittl Date: Sun, 31 Dec 2023 11:59:35 -0800 Subject: [PATCH] GH Actions: Add Windows build step --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aca702b6..3acfe2c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,3 +71,18 @@ jobs: run: make $FLAGS env: FLAGS: ${{ format('{0} {1} {2}', steps.make_flags.outputs.proto_flags, steps.make_flags.outputs.compiler_flags, steps.make_flags.outputs.debug_flags) }} + build_windows: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + arch: [x64, x86] + steps: + - name: Configure MSVC developer console + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: ${{ matrix.arch }} + - name: Check out code + uses: actions/checkout@v4 + - name: Build and run tests + run: nmake /F Makefile.windows