Split workflows by OS (#77)

This commit is contained in:
Arthur Sonzogni
2021-03-21 13:42:12 +01:00
committed by GitHub
parent add8082cd9
commit 3a0b2520eb
5 changed files with 72 additions and 79 deletions

25
.github/workflows/linux-gcc.yaml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Linux GCC - Build & tests
on:
- pull_request
jobs:
build:
name: Linux GCC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Build
run: >
mkdir build;
cd build;
cmake ..
-DCMAKE_CXX_COMPILER=g++-9
-DFTXUI_BUILD_TESTS=ON;
cmake --build . --config Release;
- name: Tests
run: >
cd build;
./tests