neo/game/Game_Local.cpp: missing surface type from name table (plastic) -- root cause of ALTMETAL -> FORCEFIELD off-by-one sound bug #113
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: Windows Build (x86_64 & x86) | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| paths-ignore: | |
| - .github/workflows/FreeBSD.yml | |
| - .github/workflows/Linux.yml | |
| pull_request: | |
| types: [edited, opened, synchronize] | |
| paths-ignore: | |
| - .github/workflows/FreeBSD.yml | |
| - .github/workflows/Linux.yml | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| build: | |
| name: Windows (${{ matrix.arch }}) | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: [x86_64, x86] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Restore CMake cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| build/.cmake | |
| build/CMakeFiles | |
| key: ${{ runner.os }}-cmake-${{ matrix.arch }}-${{ hashFiles('neo/CMakeLists.txt') }} | |
| restore-keys: ${{ runner.os }}-cmake-${{ matrix.arch }}- | |
| - name: Get latest CMake | |
| uses: lukka/get-cmake@latest | |
| - name: Build the engine (x86_64) | |
| if: matrix.arch == 'x86_64' | |
| shell: cmd | |
| run: | | |
| if not exist build mkdir build | |
| cd build | |
| cmake -G "Visual Studio 17" -A x64 -DDEDICATED=ON ../neo/ | |
| cmake --build . --config Release | |
| - name: Build the engine (x86) | |
| if: matrix.arch == 'x86' | |
| shell: cmd | |
| run: | | |
| if not exist build mkdir build | |
| cd build | |
| cmake -G "Visual Studio 17" -A Win32 -DDEDICATED=ON ../neo/ | |
| cmake --build . --config Release | |
| - name: Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: prey2006-windows-${{ matrix.arch }} | |
| path: output/windows/ | |
| compression-level: 6 |