From 1aec42d32f10e9c1af1fa094e8671f5f602790bb Mon Sep 17 00:00:00 2001 From: lloda Date: Wed, 2 Oct 2024 17:17:45 +0200 Subject: [PATCH] Main is C++23 --- .github/workflows/gcc11-no-sanitize.yml | 33 ------------------------- .github/workflows/gcc11.yml | 33 ------------------------- README.md | 2 +- 3 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 .github/workflows/gcc11-no-sanitize.yml delete mode 100644 .github/workflows/gcc11.yml diff --git a/.github/workflows/gcc11-no-sanitize.yml b/.github/workflows/gcc11-no-sanitize.yml deleted file mode 100644 index eda80f2..0000000 --- a/.github/workflows/gcc11-no-sanitize.yml +++ /dev/null @@ -1,33 +0,0 @@ -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 diff --git a/.github/workflows/gcc11.yml b/.github/workflows/gcc11.yml deleted file mode 100644 index 91bef8b..0000000 --- a/.github/workflows/gcc11.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: gcc-11 - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - workflow_dispatch: - -jobs: - gcc11: - runs-on: ubuntu-latest - strategy: - matrix: - cxxflags: ['"-O3 -std=c++20 -DRA_DO_OPT_SMALLVECTOR=0"', - '"-O3 -std=c++20 -DRA_DO_OPT_SMALLVECTOR=1"', - '"-O3 -DRA_DO_CHECK=0 -DNDEBUG -std=c++20"', - '"-O3 -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 diff --git a/README.md b/README.md index b8951a9..586cd7a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc11.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc11.yml) [![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc11-no-sanitize.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc11-no-sanitize.yml) [![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc14.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc14.yml) [![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc14-no-sanitize.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc14-no-sanitize.yml) +[![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc14.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc14.yml) [![C/C++ CI](https://github.com/lloda/ra-ra/actions/workflows/gcc14-no-sanitize.yml/badge.svg)](https://github.com/lloda/ra-ra/actions/workflows/gcc14-no-sanitize.yml) # ra-ra