add cflag Wall and Werror in debug mode; change vsprintf to vsnprintf… #3884
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: tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@master | |
- uses: ashutoshvarma/action-cmake-build@master | |
with: | |
source-dir: ${{ runner.workspace }}/hiop | |
build-dir: ${{ runner.workspace }}/hiop/build | |
cc: gcc | |
cxx: g++ | |
build-type: Debug | |
configure-options: -DHIOP_USE_RAJA=OFF -DHIOP_USE_MPI=OFF -DCMAKE_BUILD_TYPE=Debug -DHIOP_BUILD_SHARED=ON -DHIOP_BUILD_STATIC=ON -DCMAKE_INSTALL_PREFIX=.. -DHIOP_WITH_KRON_REDUCTION=OFF -DHIOP_SPARSE=OFF | |
run-test: true | |
install-build: true | |
parallel: 4 |