Skip to content

Commit

Permalink
[Add] GA job to test MSVC 2022 config
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoysouvanh committed Mar 25, 2024
1 parent 4189235 commit 1b0f13b
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

jobs:
windows_msvc:
windows_msvc_2019:
name: Windows | MSVC
runs-on: windows-2019

Expand All @@ -29,5 +29,29 @@ jobs:
- name: Build Refureku
run: cmake --build Build/${{ matrix.build_config }} --config ${{ matrix.build_config }} --verbose

- name: Run Tests
run: cd Build/${{ matrix.build_config }} && ctest -C ${{ matrix.build_config }} -V

windows_msvc_2022:
name: Windows | MSVC
runs-on: windows-2022

strategy:
fail-fast: false
matrix:
build_config: [Release, Debug]

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'

- name: Generate Project
run: cmake -B Build/${{ matrix.build_config }} -DCMAKE_BUILD_TYPE=${{ matrix.build_config }} -DRFK_DEV=1 -G "Visual Studio 17 2022" -A x64

- name: Build Refureku
run: cmake --build Build/${{ matrix.build_config }} --config ${{ matrix.build_config }} --verbose

- name: Run Tests
run: cd Build/${{ matrix.build_config }} && ctest -C ${{ matrix.build_config }} -V

0 comments on commit 1b0f13b

Please sign in to comment.