Skip to content

Support c++20 and clang compiler #284

Support c++20 and clang compiler

Support c++20 and clang compiler #284

Workflow file for this run

name: Unit testing
on:
workflow_dispatch:
pull_request:
push:
branches: [ "master" ]
tags: [ "*" ]
jobs:
default:
uses: ./.github/workflows/reusable-testing.yml

Check failure on line 12 in .github/workflows/testing.yml

View workflow run for this annotation

GitHub Actions / Unit testing

Invalid workflow file

The workflow is not valid. In .github/workflows/testing.yml (Line: 12, Col: 11): Error from called workflow tarantool/tntcxx/.github/workflows/reusable-testing.yml@767723b3fc6dabba08e2203d2397def8d3dd3cf9: (Line: 39, Col: 13, Idx: 738) - (Line: 39, Col: 14, Idx: 739): While parsing a tag, did not find expected tag URI.
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
build-type:
- Debug
- RelWithDebInfo
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
build:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-20.04
- ubuntu-22.04
- macos-11
- macos-12
compiler:
- {c: gcc, cxx: g++}
- {c: clang, cxx: clang++}
build-type:
- Debug
- RelWithDebInfo
cxx-standard:
- 17
- 20
exclude:
# Exclude setups from default job
- cxx-standard: 17
compiler: {c: gcc, cxx: g++}
name: build (${{ matrix.runs-on }}, ${{ matrix.build-type }}, ${{ matrix.compiler.c }}, C++${{ matrix.cxx-standard }})
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
cxx-standard: ${{ matrix.cxx-standard }}
c-compiler: ${{ matrix.compiler.c }}
cxx-compiler: ${{ matrix.compiler.cxx }}
valgrind:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
build-type:
- Debug
- RelWithDebInfo
with:
runs-on: ubuntu-22.04
build-type: ${{ matrix.build-type }}
use-valgrind: true
sanitizers:
uses: ./.github/workflows/reusable-testing.yml
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-22.04
- macos-12
build-type:
- Debug
- RelWithDebInfo
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
enable-sanitizers: true