ci: move Travis CI unit test jobs to GH Actions

This commit is contained in:
Frantisek Sumsal
2021-01-08 11:36:59 +01:00
parent c6ef002b80
commit a74be22cd6
3 changed files with 103 additions and 22 deletions
+24
View File
@@ -0,0 +1,24 @@
---
# vi: ts=2 sw=2 et:
#
name: Unit tests
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_ASAN_UBSAN]
steps:
- name: Repository checkout
uses: actions/checkout@v1
- name: Install build dependencies
run: sudo -E .github/workflows/ubuntu-unit-tests.sh SETUP
- name: Build & test (${{ matrix.run_phase }})
run: sudo -E .github/workflows/ubuntu-unit-tests.sh RUN_${{ matrix.run_phase }}