Update clang-format-lint-action from 0.3.1 to 0.16.2 using clang-form… #59
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: CI | |
on: [push, pull_request] | |
jobs: | |
linux-build-test-minimum-compiler-version: | |
runs-on: ubuntu-latest | |
container: | |
image: docker://banditcpp/build-environments:debian-stretch-compilers | |
strategy: | |
matrix: | |
cxx-standard: ["11"] | |
compiler-env: ["CC=gcc-6 CXX=g++-6", "CC=clang-3.9 CXX=clang++-3.9"] | |
steps: | |
- name: Clone and checkout commit | |
uses: actions/checkout@v3 | |
- name: Build C++${{ matrix.cxx-standard }} version with ${{ matrix.compiler-env }} and run tests | |
run: | |
${{ matrix.compiler-env }} util/build.sh ${{ matrix.cxx-standard }} | |
linux-build-test-recent-gcc: | |
runs-on: ubuntu-latest | |
container: | |
image: docker://banditcpp/build-environments:gcc-13 | |
strategy: | |
matrix: | |
cxx-standard: ["11", "14", "17", "20", "23"] | |
steps: | |
- name: Clone and checkout commit | |
uses: actions/checkout@v3 | |
- name: Build C++${{ matrix.cxx-standard }} version with recent gcc and run tests | |
run: | |
${{ matrix.compiler-env }} util/build.sh ${{ matrix.cxx-standard }} | |
linux-build-test-recent-clang: | |
runs-on: ubuntu-latest | |
container: | |
image: docker://banditcpp/build-environments:clang-16 | |
strategy: | |
matrix: | |
cxx-standard: ["11", "14", "17", "20", "23"] | |
steps: | |
- name: Clone and checkout commit | |
uses: actions/checkout@v3 | |
- name: Build C++${{ matrix.cxx-standard }} version with recent clang and run tests | |
run: | |
${{ matrix.compiler-env }} util/build.sh ${{ matrix.cxx-standard }} | |
windows-2022-build-test: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
cxx-standard: ["11", "14", "17", "20", "23"] | |
steps: | |
- name: Clone and checkout commit | |
uses: actions/checkout@v3 | |
- name: Let CMake generate build configuration | |
run: cmake -G "Visual Studio 17 2022" -DSNOWHOUSE_RUN_TESTS=0 -DSNOWHOUSE_BUILD_TESTS=1 -DSNOWHOUSE_CXX_STANDARD=C++${{ matrix.cxx-standard }} . | |
- name: Build tests with MSVC and C++${{ matrix.cxx-standard }} | |
run: cmake --build . | |
- name: Run tests | |
run: bin\Debug\snowhouse-tests.exe |