mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-20 02:46:44 +08:00
70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
name: gcc
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build-gcc-linux-stl:
|
|
name: GCC Linux - STL
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
run: |
|
|
git fetch --tags
|
|
export ASAN_OPTIONS=alloc_dealloc_mismatch=0,detect_leaks=0
|
|
cmake -DBUILD_TESTS=ON -DNO_STL=OFF -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=OFF ./
|
|
gcc --version
|
|
make
|
|
|
|
- name: Run tests
|
|
run: ./test/etl_tests
|
|
|
|
build-gcc-linux-no-stl:
|
|
name: GCC Linux - No STL
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
run: |
|
|
git fetch --tags
|
|
export ASAN_OPTIONS=alloc_dealloc_mismatch=0,detect_leaks=0
|
|
cmake -DBUILD_TESTS=ON -DNO_STL=ON -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=OFF ./
|
|
gcc --version
|
|
make
|
|
|
|
- name: Run tests
|
|
run: ./test/etl_tests
|
|
|
|
build-gcc-linux-stl-force-cpp03:
|
|
name: GCC Linux - STL - Force C++03
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
run: |
|
|
git fetch --tags
|
|
export ASAN_OPTIONS=alloc_dealloc_mismatch=0,detect_leaks=0
|
|
cmake -DBUILD_TESTS=ON -DNO_STL=OFF -DETL_USE_TYPE_TRAITS_BUILTINS=OFF -DETL_USER_DEFINED_TYPE_TRAITS=OFF -DETL_FORCE_TEST_CPP03=ON ./
|
|
gcc --version
|
|
make
|
|
|
|
- name: Run tests
|
|
run: ./test/etl_tests |