-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Windows CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
name: Visual Studio | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
submodules: true | ||
- name: Create build directory | ||
run: mkdir build | ||
- name: Run CMake | ||
run: cmake -G "Visual Studio 16 2019" -DANGEL_TEST=ON .. | ||
working-directory: ./build | ||
- name: Build angel | ||
run: | | ||
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" angel.sln | ||
working-directory: ./build | ||
shell: cmd | ||
- name: Run tests | ||
run: | | ||
cd build | ||
.\test\Debug\run_tests "~[quality]" |