Experimental -02 optimisation

This commit is contained in:
John Wellbelove 2023-07-11 08:03:55 +01:00
parent 13bfff1df6
commit 3e0240591f
2 changed files with 44 additions and 1 deletions

View File

@ -160,6 +160,28 @@ jobs:
- name: Run tests
run: ./test/etl_tests
build-clang-cpp20-linux-no-stl-optimisation-02:
name: Clang C++20 Linux - No STL - Optimisation 02
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
export CC=clang
export CXX=clang++
export ASAN_OPTIONS=alloc_dealloc_mismatch=0,detect_leaks=0
cmake -D BUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=ON -DETL_CXX_STANDARD=20 -DETL_OPTIMISATION=-O2 ./
clang --version
make
- name: Run tests
run: ./test/etl_tests
build-clang-cpp20-osx-stl:
name: Clang C++20 OSX - STL
runs-on: ${{ matrix.os }}
@ -247,4 +269,3 @@ jobs:
- name: Run tests
run: ./test/etl_tests

View File

@ -158,5 +158,27 @@ jobs:
gcc --version
make
- name: Run tests
run: ./test/etl_tests
build-gcc-cpp20-linux-no-stl-optimisation-02:
name: GCC C++20 Linux - No STL - Optimisation 02
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
export ASAN_OPTIONS=alloc_dealloc_mismatch=0,detect_leaks=0
export CC=gcc
export CXX=g++
cmake -DBUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=OFF -DETL_CXX_STANDARD=20 -DETL_OPTIMISATION=-O2 ./
gcc --version
make
- name: Run tests
run: ./test/etl_tests