Skip to content

Replace istringstream::getline with SourceCode::GetLine #197

Replace istringstream::getline with SourceCode::GetLine

Replace istringstream::getline with SourceCode::GetLine #197

Workflow file for this run

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