diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07adf86..eea562b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,49 +9,49 @@ jobs: matrix: config: - { - name: linux-x64-gcc-7, - os: ubuntu-18.04, - cxx: g++-7, + name: linux-x64-gcc, + os: ubuntu-latest, + cxx: g++, cmake-build-type: Release } - { - name: linux-x64-gcc-7-no-exceptions, - os: ubuntu-18.04, - cxx: g++-7, + name: linux-x64-gcc-no-exceptions, + os: ubuntu-latest, + cxx: g++, cxx-flags: -fno-exceptions, cmake-build-type: Release } - { - name: linux-x64-clang-9, - os: ubuntu-18.04, - cxx: clang++-9, + name: linux-x64-clang, + os: ubuntu-latest, + cxx: clang++, cmake-build-type: Release } - { name: macos-x64-gcc, - os: macos-10.15, + os: macos-latest, cxx: g++, cmake-build-type: Release } - { name: macos-x64-clang, - os: macos-10.15, + os: macos-latest, cxx: clang++, cmake-build-type: Release } - { - name: linux-x64-clang-12-sanitize, - os: ubuntu-20.04, - cxx: clang++-12, + name: linux-x64-clang-sanitize, + os: ubuntu-latest, + cxx: clang++, cxx-flags: "-fsanitize=address,undefined", cmake-build-type: Release } - { - name: linux-x64-gcc-10-coverage, - os: ubuntu-20.04, - cxx: g++-10, + name: linux-x64-gcc-coverage, + os: ubuntu-latest, + cxx: g++, cxx-flags: --coverage, - gcov-tool: gcov-10, + gcov-tool: gcov, cmake-build-type: Debug } - { @@ -133,4 +133,4 @@ jobs: sudo apt-get install -y lcov lcov -c -b ${{github.workspace}}/include -d ${{github.workspace}}/build -o ${{github.workspace}}/coverage.info --no-external --gcov-tool ${{matrix.config.gcov-tool}} bash <(curl -s https://codecov.io/bash) -f ${{github.workspace}}/coverage.info - if: ${{matrix.config.name == 'linux-x64-gcc-10-coverage'}} + if: ${{matrix.config.name == 'linux-x64-gcc-coverage'}}