File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 11name : Tests
22on : [push, pull_request]
33jobs :
4- windows_test :
4+ windows_msvc_test :
5+ name : Windows (MSVC) tests
6+ runs-on : windows-latest
7+ steps :
8+ - name : Checkout
9+ uses : actions/checkout@v1
10+ with :
11+ fetch-depth : 1
12+ - name : Install vcpkg
13+ shell : cmd
14+ run : |
15+ git clone https://github.com/microsoft/vcpkg.git
16+ cd vcpkg
17+ bootstrap-vcpkg.bat
18+ - name : Install Dependencies
19+ shell : cmd
20+ run : |
21+ cd vcpkg
22+ vcpkg.exe install bzip2 freetype[core] libflac libjpeg-turbo libogg libpng libtheora libvorbis libwebp[core] minimp3 openal-soft opus opusfile physfs zlib directxsdk
23+ - name : Configure
24+ shell : cmd
25+ run : |
26+ set VCPKG_ROOT=${{ github.workspace }}/vcpkg
27+ set PATH=%VCPKG_ROOT%;%PATH%
28+ mkdir build
29+ cd build
30+ cmake .. -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%/scripts/buildsystems/vcpkg.cmake -DWANT_DOCS=off -DSHARED=off -DD3DX9_INCLUDE_DIR=%VCPKG_ROOT%/installed/x64-windows/include/directxsdk -DD3DX9_LIBRARY=%VCPKG_ROOT%/installed/x64-windows/lib/d3dx9.lib
31+ - name : Build
32+ shell : cmd
33+ run : |
34+ cd build
35+ cmake --build . --config RelWithDebInfo
36+ windows_msys2_test :
537 name : Windows (MSYS2) tests
638 runs-on : windows-latest
739 steps :
You can’t perform that action at this time.
0 commit comments