mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-16 00:46:03 +08:00
Mulit Ubuntu build and artifacts archiving Build only on Ubuntu 18.04 and 20.04 Ubuntu 16.04 does not support C++17
32 lines
535 B
YAML
32 lines
535 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
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
|