From 70df380b8307cb2180d8c83edb10c4723149d2d8 Mon Sep 17 00:00:00 2001 From: gitlost Date: Mon, 12 Sep 2022 20:22:05 +0100 Subject: [PATCH] Actually try Windows 32-bit build (+ 64-bit) --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b44a695e..93b3e5c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,6 +85,30 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + + - name: Configure CMake + working-directory: ${{runner.workspace}}/build + shell: bash + run: cmake $GITHUB_WORKSPACE -A Win32 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DZINT_TEST=ON -DZINT_STATIC=ON -DZINT_USE_PNG=OFF -DZINT_USE_QT=OFF + + - name: Build + working-directory: ${{runner.workspace}}/build + shell: bash + run: cmake --build . -j8 --config $BUILD_TYPE + + - name: Test + working-directory: ${{runner.workspace}}/build + shell: bash + run: PATH=$PATH:"$(pwd)/backend/Release:$(pwd)/frontend/Release" ctest -V -C $BUILD_TYPE + + build-windows-64bit: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: Create Build Environment run: cmake -E make_directory ${{runner.workspace}}/build