mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 20:47:05 +08:00
32 lines
593 B
YAML
32 lines
593 B
YAML
name: MacOS Clang
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
name: MacOS Clang
|
|
runs-on: macos-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
|