FTXUI/.github/workflows/linux-gcc.yaml
2021-09-30 21:44:29 +02:00

31 lines
550 B
YAML

name: Linux GCC
on:
push:
branches:
- master
pull_request:
branches:
- master
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