Fix argument name splitting inside strings and chars. #97
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: | |
branches: | |
- master | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE.txt' | |
- 'AUTHORS' | |
- '*.nix' | |
- 'example_project/**' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE.txt' | |
- 'AUTHORS' | |
- '*.nix' | |
- 'example_project/**' | |
jobs: | |
gcc: | |
name: ${{ matrix.version }} C++${{ matrix.cpp }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [gcc6, gcc7, gcc8, gcc9] | |
cpp: [11, 14, 17] | |
exclude: | |
- version: gcc6 | |
cpp: 17 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: run | |
run: docker run -v $(pwd):/home/src renatogarcia/icecream-ci:${{ matrix.version }} /bin/sh -c "cmake /home/src -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DBUILD_TESTING=ON && cmake --build . && ctest -V" | |
clang: | |
name: ${{ matrix.version }} C++${{ matrix.cpp }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [clang5, clang10] | |
cpp: [11, 14, 17] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: run | |
run: docker run -v $(pwd):/home/src renatogarcia/icecream-ci:${{ matrix.version }} /bin/sh -c "cmake /home/src -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DBUILD_TESTING=ON && cmake --build . && ctest -V" | |
msvc: | |
name: ${{ matrix.name }} C++${{ matrix.cpp }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022, windows-2019] | |
cpp: [11, 14, 17] | |
include: | |
- os: windows-2022 | |
name: vs2022 | |
- os: windows-2019 | |
name: vs2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare | |
run: choco install boost-msvc-14.2 -y | |
- name: build | |
run: cmake . -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DBUILD_TESTING=ON && cmake --build . --config Debug | |
- name: run | |
run: ctest -V -C Debug | |
xcode: | |
name: Xcode C++${{ matrix.cpp }} | |
runs-on: macos-12 | |
strategy: | |
fail-fast: false | |
matrix: | |
cpp: [11, 14, 17] | |
env: | |
CPP_STANDARD: ${{ matrix.cpp }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare | |
run: brew install boost | |
- name: build | |
run: cmake . -DCMAKE_CXX_STANDARD=${{ matrix.cpp }} -DBUILD_TESTING=ON && cmake --build . | |
- name: run | |
run: ctest -V |