Skip to content

Update formatting

Update formatting #231

Workflow file for this run

name: MSVC
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
VS2022:
runs-on: windows-2022
strategy:
matrix:
config: [Debug, Release]
steps:
- uses: actions/checkout@v4
- uses: friendlyanon/setup-vcpkg@v1
with:
committish: b4624c3a701b11248d88aab08744a37ee7aea1cc
path: the-vcpkg
cache-version: vs2022
- name: Configure
run: >
cmake -Bbuild -DCMAKE_BUILD_TYPE=${{matrix.config}}
-D"CMAKE_TOOLCHAIN_FILE=$env:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"
-DALIA_ENABLE_UI=ON
-DALIA_ENABLE_GLFW=OFF
.
- name: Build
run: >
cmake --build build --config ${{matrix.config}}
--target core_unit_test_runner ui_unit_test_runner -j4
- name: Test
run: |
cd build
ctest --build-config ${{matrix.config}}