mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-10-01 17:29:07 +08:00
Improve workflow and badges. (#78)
This commit is contained in:
27
.github/workflows/mac-clang.yaml
vendored
Normal file
27
.github/workflows/mac-clang.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: MacOS Clang
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
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
|
Reference in New Issue
Block a user