Skip to content

test: add option to build 32-bit on the auto workflow #2

test: add option to build 32-bit on the auto workflow

test: add option to build 32-bit on the auto workflow #2

name: Windows CMake Build & Test
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install MinGW
run: |
choco install mingw --version=12.2.0 -y
echo "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" >> $GITHUB_PATH
gcc --version
- name: Build for 32-bit
run: |
mkdir __build__
cd __build__
cmake -S.. -T host=x86 -A Win32
cmake --build .
- name: Run Tests
working-directory: __build__
run: |
ctest . --output-on-failure -C Debug