Merge branch 'feature/sanity-checks-for-github-ci' of https://github.com/ETLCPP/etl into feature/sanity-checks-for-github-ci

# Conflicts:
#	.github/workflows/sanity-checks.yml
This commit is contained in:
John Wellbelove 2023-05-06 19:08:35 +01:00
commit fbe703bb1c
5 changed files with 28 additions and 3 deletions

View File

@ -6,8 +6,8 @@ on:
branches: [ master ]
jobs:
build-gcc-cpp03-linux:
name: GCC C++03 Linux
build-gcc-cpp03-linux-STL:
name: GCC C++03 Linux STL
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -19,6 +19,23 @@ jobs:
- name: Build
run: |
git fetch --tags
cmake ./test/sanity-check/c++03
cmake -DNO_STL=OFF ./test/sanity-check/c++03
gcc --version
make
build-gcc-cpp03-linux-No-STL:
name: GCC C++03 Linux No STL
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
git fetch --tags
cmake -DNO_STL=ON ./test/sanity-check/c++03
gcc --version
make

View File

@ -5,6 +5,8 @@ add_definitions(-DETL_DEBUG)
option(NO_STL "No STL" OFF)
message(STATUS "Compiling for C++03")
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)

View File

@ -5,6 +5,8 @@ add_definitions(-DETL_DEBUG)
option(NO_STL "No STL" OFF)
message(STATUS "Compiling for C++11")
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)

View File

@ -5,6 +5,8 @@ add_definitions(-DETL_DEBUG)
option(NO_STL "No STL" OFF)
message(STATUS "Compiling for C++14")
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)

View File

@ -5,6 +5,8 @@ add_definitions(-DETL_DEBUG)
option(NO_STL "No STL" OFF)
message(STATUS "Compiling for C++17")
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)