[Add] GA job to test MSVC 2022 config #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
workflow_dispatch: | |
jobs: | |
windows_msvc_2019: | |
name: Windows | MSVC | |
runs-on: windows-2019 | |
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 16 2019" -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 | |
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 |