ref: 61afb65d1e3cf0733b9fc1e1d185c269cc07ebc9
dir: /.github/workflows/windows_x86.yml/
name: Windows x86 CI
on: [push, pull_request]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Compile vcpkg dependencies
run: vcpkg_windows_x86.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: microsoft/setup-msbuild@v1
- name: Compile Duke3D
run: build_windows_x86.bat
shell: cmd
- uses: actions/upload-artifact@v3
with:
name: chocoduke3d_win32
path: bin/ChocoDuke3D.32.exe