Skip to content

Commit

Permalink
Setup Windows Github CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
SiegeLordEx authored and SiegeLord committed Jan 19, 2020
1 parent 926226d commit f187606
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,33 @@ name: Tests
on: [push, pull_request]

jobs:
test:
windows_test:
name: Windows tests
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Setup
uses: nuget/setup-nuget@v1
run: |
mkdir deps
mkdir deps\include
mkdir deps\lib
nuget install AllegroDeps -Version 1.5.0 -OutputDirectory deps -ExcludeVersion
move deps\AllegroDeps\build\native\include\* deps\include -force
move deps\AllegroDeps\build\native\v140\win32\deps\lib\* deps\lib -force
shell: powershell
- name: Configure
run: |
cd build
cmake .. -G "Visual Studio 15 2017" -DWANT_ACODEC_DYNAMIC_LOAD=off -DFLAC_STATIC=on
- name: Build
run: |
cd build
cmake --build . --config Debug
ubuntu_test:
name: Ubuntu tests
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f187606

Please sign in to comment.