Skip to content

Commit 693cac0

Browse files
SiegeLordExSiegeLord
authored andcommitted
Setup Windows Github CI.
1 parent 926226d commit 693cac0

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
@@ -2,7 +2,33 @@ name: Tests
22
on: [push, pull_request]
33

44
jobs:
5-
test:
5+
windows_test:
6+
name: Windows testss
7+
runs-on: windows-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
with:
12+
fetch-depth: 1
13+
- name: Setup
14+
uses: nuget/setup-nuget@v1
15+
run: |
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
31+
ubuntu_test:
632
name: Ubuntu tests
733
runs-on: ubuntu-latest
834
steps:

0 commit comments

Comments
 (0)