Merge pull request #61 from MatthieuHernandez/Improve_code_quality #360
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: Unit tests Windows | |
on: [push] | |
jobs: | |
unit-tests: | |
name: Build and run | |
runs-on: windows-latest | |
steps: | |
- name: Checkout the project | |
uses: actions/checkout@v2 | |
- name: Checkout msvc-dev-cmd | |
uses: ilammy/msvc-dev-cmd@v1.4.1 | |
- name: CMake | |
run: | | |
cd ./build | |
cmake -G"NMake Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release | |
- name: Make | |
run: | | |
cd ./build | |
nmake | |
- name: Execute unit tests | |
run: | | |
cd ./build | |
./tests/unit_tests/UnitTests --gtest_also_run_disabled_tests |