mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-12-02 00:12:28 +08:00
29 lines
579 B
YAML
29 lines
579 B
YAML
name: Windows MSVC
|
|
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
jobs:
|
|
build:
|
|
name: Windows MSVC
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: seanmiddleditch/gha-setup-ninja@master
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
- name: Build
|
|
run: >
|
|
mkdir build;
|
|
cd build;
|
|
cmake ..
|
|
-DCMAKE_CXX_COMPILER="cl"
|
|
-DFTXUI_BUILD_TESTS=ON;
|
|
cmake --build . --config Release;
|
|
|
|
- name: Tests
|
|
if: ${{ matrix.config.test }}
|
|
run: >
|
|
cd build;
|
|
./tests.exe
|