Fix #98, support empty string for SAVE file #188
Workflow file for this run
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: Build and run tests | |
on: [push, pull_request] | |
jobs: | |
cmake: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-22.04', 'macos-12', 'ubuntu-20.04'] | |
cc: [ 'gcc', 'clang' ] | |
name: Compile via CMakeLists.txt on ${{ matrix.os }} using ${{ matrix.cc }} | |
env: | |
CFLAGS: '-Wextra -Werror' | |
CXXFLAGS: '-Wextra -Werror' | |
CC: ${{ matrix.cc }} | |
CXX: ${{ matrix.cc }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: cmake . | |
- run: make | |
- run: make test CTEST_OUTPUT_ON_FAILURE=TRUE | |
make: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-22.04', 'macos-12', 'ubuntu-20.04'] | |
name: Compile via Makefile on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: make -C src all VERBOSE=1 | |
msbuild: | |
runs-on: windows-2019 | |
name: Compile via msbuild on Windows | |
steps: | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- uses: actions/checkout@v2 | |
- name: Build Binary | |
shell: cmd | |
working-directory: .\src\VS2010 | |
run: call .\build.cmd | |
- run: python test\testrunner.py -v |