Added "pedantic" to choc_DisableAllWarnings.h #937
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: CHOC Unit Tests | |
on: [push, pull_request] | |
env: | |
CMAKE_VERSION: 3.18.3 | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "Windows Latest MSVC", | |
os: windows-latest, | |
cc: "cl", cxx: "cl", | |
build_type: "Release", | |
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat", | |
generators: "Visual Studio 17 2022", | |
exe: "./Release/choc_tests.exe" | |
} | |
- { | |
name: "Windows Latest MinGW", | |
os: windows-latest, | |
build_type: "Release", | |
cc: "gcc", cxx: "g++", | |
generators: "Unix Makefiles", | |
exe: "./choc_tests" | |
} | |
- { | |
name: "Ubuntu Latest GCC", | |
os: ubuntu-latest, | |
build_type: "Release", | |
cc: "gcc", cxx: "g++", | |
generators: "Unix Makefiles", | |
exe: "./choc_tests", | |
install_packages: "sudo apt-get update; sudo apt-get -y install libgtk-3-dev libwebkit2gtk-4.0-dev" | |
} | |
- { | |
name: "macOS Latest Clang", | |
os: macos-latest, | |
build_type: "Release", | |
cc: "clang", cxx: "clang++", | |
generators: "Unix Makefiles", | |
exe: "./choc_tests" | |
} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Configure | |
shell: bash | |
working-directory: ./tests | |
run: | | |
${{ matrix.config.install_packages }} | |
mkdir build | |
cd build | |
cmake \ | |
-S .. \ | |
-B . \ | |
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \ | |
-G "${{ matrix.config.generators }}" | |
- name: Build | |
shell: bash | |
working-directory: ./tests/build | |
run: cmake --build . --config ${{ matrix.config.build_type }} | |
- name: Run tests | |
shell: bash | |
working-directory: ./tests/build | |
run: ${{ matrix.config.exe }} --multithread |