tests: strip CONFIDENTIAL notices from tests #40
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: C/C++ CI | |
on: | |
push: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-linux-unix: | |
strategy: | |
matrix: | |
os: [ubuntu] | |
config: [Debug, Release] | |
standard: [c++11, c++14, c++17, c++20] | |
name: ${{matrix.os}}-${{matrix.config}}-${{matrix.standard}} | |
runs-on: ${{matrix.os}}-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt update && sudo apt install -y zlib1g-dev freeglut3-dev libgtest-dev | |
- name: CMake configure | |
run: cmake -G "Unix Makefiles" -DPARTIO_GTEST_ENABLED=ON -DCMAKE_BUILD_TYPE=${{matrix.config}} . | |
env: | |
CXXFLAGS_STD: ${{matrix.standard}} | |
- name: Build | |
run: cmake --build . | |
build-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
architecture: [x64] | |
config: [Release] | |
standard: [c++11, c++14, c++17, c++20] | |
name: windows-${{matrix.architecture}}-${{matrix.config}}-${{matrix.standard}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get ZLIB | |
run: vcpkg install zlib:${{matrix.architecture}}-windows | |
- name: Get GLUT | |
run: vcpkg install freeglut:${{matrix.architecture}}-windows | |
- name: Get OpenGL | |
run: vcpkg install opengl:${{matrix.architecture}}-windows | |
- name: Get gtest | |
run: vcpkg install gtest:${{matrix.architecture}}-windows | |
- name: CMake configure | |
run: cmake "-DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" -DPARTIO_GTEST_ENABLED=ON -A ${{matrix.architecture}} . | |
env: | |
CXXFLAGS_STD: ${{matrix.standard}} | |
- name: Build | |
run: cmake --build . --config ${{matrix.config}} |