shithub: duke3d

Download patch

ref: dbe20121c7cf654e4baeae0844ec93744aac070d
parent: b509c0a33dfe7f3ea699a18fcb1fc32b34fbf212
parent: 75513c332b9cc2abbc9432c5562feada8f95b4b1
author: Tanguy Fautre <[email protected]>
date: Fri Feb 14 18:55:16 EST 2020

Merge branch 'master' of https://github.com/GPSnoopy/chocolate_duke3D

--- /dev/null
+++ b/.github/workflows/windows.yml
@@ -1,0 +1,25 @@
+name: Windows CI
+
+on: [push, pull_request]
+
+jobs:
+  build:
+
+    runs-on: windows-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: Compile vcpkg dependencies
+      run: vcpkg_windows.bat
+      shell: cmd
+    # This is where GitHub actions on Windows get really nonsensical.
+    # MSBuild is not on the path by default, despite this running on a Windows / Visual Studio 2019 docker image.
+    # We currently use 3rd party action to avoid hard coding the path to MSBuild.
+    # Comedy bonus: GitHub is now owned by Microsoft.
+    - name: Setup MSBuild
+      uses: warrenbuckley/Setup-MSBuild@v1
+    - name: Compile x86
+      run: build_windows_x86.bat
+      shell: cmd
+    - name: Compile x64
+      run: build_windows_x64.bat
+      shell: cmd