mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-23 03:10:01 +08:00
28 lines
538 B
YAML
28 lines
538 B
YAML
name: Linux Clang
|
|
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
jobs:
|
|
build:
|
|
name: Linux Clang
|
|
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=clang++
|
|
-DFTXUI_BUILD_TESTS=ON;
|
|
cmake --build . --config Release;
|
|
|
|
- name: Tests
|
|
if: ${{ matrix.config.test }}
|
|
run: >
|
|
cd build;
|
|
./tests
|