Significantly reduces the size of *.snn files #113
This file contains hidden or 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 - MSVC Windows | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
steps: | |
- name: Checkout the project | |
uses: actions/checkout@v3 | |
- name: Checkout msvc-dev-cmd | |
uses: ilammy/[email protected] | |
- name: CMake | |
run: | | |
mkdir build | |
cd ./build | |
cmake -G"NMake Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release | |
- name: Make | |
run: | | |
cd ./build | |
nmake | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: compiled-tests | |
path: build/tests/ | |
run-unit-tests: | |
name: Run unit tests | |
runs-on: windows-latest | |
needs: build | |
steps: | |
- name: Download build artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: compiled-tests | |
path: ./build/tests/ | |
- name: Run tests | |
run: | | |
./build/tests/unit_tests/UnitTests --gtest_also_run_disabled_tests |