mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
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:
commit
fbe703bb1c
23
.github/workflows/sanity-checks.yml
vendored
23
.github/workflows/sanity-checks.yml
vendored
@ -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
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user