etl/.github/workflows/main.yml
finger42 c14c7613b1
Mulit Ubuntu build and artifacts archiving (#2)
Mulit Ubuntu build and artifacts archiving

Build only on Ubuntu 18.04 and 20.04

Ubuntu 16.04 does not support C++17
2020-07-26 20:05:03 +02:00

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