mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
* Try to build on Ubuntu-18.04 with Clang-9 * Build with pushes on clang-9 branch too * Using CC and CXX to set clang-9 * Adding atomic lib for test build on Linux with Clang * Partial conversion CHECK_EQUAL to CHECK for clang-9 * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK * Replaced CHECK_EQUAL with CHECK Co-authored-by: finger42 <finger42>
43 lines
798 B
YAML
43 lines
798 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master, clang-9 ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup cmake
|
|
run: cmake -DBUILD_TESTS=ON ./
|
|
|
|
- name: Compile
|
|
run: make
|
|
|
|
- name: Run tests
|
|
run: ./test/etl_tests
|
|
|
|
- name: Save artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Testfile
|
|
path: test/etl_tests
|
|
|
|
build-clang-9-Linux:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build with Clang 9
|
|
run: |
|
|
export CC=clang-9
|
|
export CXX=clang++-9
|
|
cmake -D BUILD_TESTS=ON ./
|
|
make
|