Skip to content

Commit 1bd90fa

Browse files
SiegeLordExSiegeLord
authored andcommitted
Setup Windows Github CI.
1 parent 36c1549 commit 1bd90fa

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,33 @@
11
name: Tests
22
on: [push, pull_request]
3-
43
jobs:
4+
windows_test:
5+
name: Windows testss
6+
runs-on: windows-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v1
10+
with:
11+
fetch-depth: 1
12+
- name: Setup
13+
uses: nuget/setup-nuget@v1
14+
run: |
15+
vcpkg install allegro5
16+
mkdir deps
17+
mkdir deps\include
18+
mkdir deps\lib
19+
nuget install AllegroDeps -Version 1.5.0 -OutputDirectory deps -ExcludeVersion
20+
move deps\AllegroDeps\build\native\include\* deps\include -force
21+
move deps\AllegroDeps\build\native\v140\win32\deps\lib\* deps\lib -force
22+
shell: powershell
23+
- name: Configure
24+
run: |
25+
cd build
26+
cmake .. -G "Visual Studio 15 2017" -DWANT_ACODEC_DYNAMIC_LOAD=off -DFLAC_STATIC=on
27+
- name: Build
28+
run: |
29+
cd build
30+
cmake --build . --config Debug
531
osx_test:
632
name: OSX tests
733
runs-on: macos-latest

0 commit comments

Comments
 (0)