Skip to content

Add github workflows for gcc14 #78

Add github workflows for gcc14

Add github workflows for gcc14 #78

name: gcc-11 -fno-sanitize=all
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
gcc11-no-sanitize:
runs-on: ubuntu-latest
strategy:
matrix:
cxxflags: ['"-O3 -fno-sanitize=all -std=c++20 -DRA_DO_OPT_SMALLVECTOR=0"',
'"-O3 -fno-sanitize=all -std=c++20 -DRA_DO_OPT_SMALLVECTOR=1"',
'"-O3 -fno-sanitize=all -DRA_DO_CHECK=0 -DNDEBUG -std=c++20"',
'"-O3 -fno-sanitize=all -std=c++2b"']
steps:
- uses: actions/checkout@v3
- name: update
run: |
sudo apt update
sudo apt install gcc-11 g++-11
- name: configure
run: CXXFLAGS=${{matrix.cxxflags}} cmake .
env:
CXX: g++-11
CC: gcc-11
- name: make
run: make
- name: make test
run: make test