Skip to content

Support c++20 and clang compiler #261

Support c++20 and clang compiler

Support c++20 and clang compiler #261

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@acd1b09e4ca29434ce30b050e12831804c3692cf (Line: 45, Col: 13): Unrecognized named-value: 'ubuntu-22'. Located at position 19 within expression: inputs.runs-on == ubuntu-22.04 && inputs.cxx-compiler == clang++
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:
- runs-on: macos-11
compiler: {c: gcc, cxx: g++}
- runs-on: macos-12
compiler: {c: gcc, cxx: g++}
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