WIP #121
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [ push, pull_request, workflow_dispatch ] | |
| jobs: | |
| build-windows: | |
| name: Windows polymost=${{ matrix.use_polymost }} gl=${{ matrix.use_opengl }} | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| use_polymost: [ 0 ] | |
| use_opengl: [ 0 ] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup MSVC | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| sdk: 10.0.26100.0 | |
| - name: Add XAudio2 redistributable | |
| run: vcpkg install xaudio2redist:x64-windows | |
| - name: Make | |
| shell: cmd | |
| run: | | |
| echo USE_POLYMOST=${{ matrix.use_polymost }} > Makefile.msvcuser | |
| echo USE_OPENGL=${{ matrix.use_opengl }} >> Makefile.msvcuser | |
| echo VCPKG_ROOT=%VCPKG_INSTALLATION_ROOT% > kenbuild\Makefile.msvcuser | |
| nmake /f Makefile.msvc all |