Removed DropWeapon and Stealth from Multiplayer #22
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 Auto-Builds | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| pull_request: | |
| types: | |
| - edited | |
| - opened | |
| - synchronize | |
| concurrency: | |
| # Cancel concurrent workflows for the same PR or commit hash. | |
| group: ${{github.workflow}}-${{github.event_name == 'pull_request' && github.head_ref || github.sha}} | |
| cancel-in-progress: true | |
| jobs: | |
| job: | |
| name: Windows Github Auto-Builds | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Get latest CMake if possible | |
| uses: lukka/get-cmake@latest | |
| - name: Restore from cache and setup vcpkg executable and data files. | |
| uses: lukka/run-vcpkg@v11 | |
| with: | |
| vcpkgDirectory: "${{github.workspace}}/vcpkg" | |
| runVcpkgInstall: true | |
| vcpkgJsonGlob: "**/neo/vcpkg.json" | |
| - name: Run CMake+vcpkg+Ninja to build the engine. | |
| uses: lukka/run-cmake@v10 | |
| with: | |
| cmakeListsTxtPath: "${{github.workspace}}/neo/CMakeLists.txt" | |
| configurePreset: "ninja-multi-vcpkg" | |
| buildPreset: "ninja-vcpkg-release" | |
| - name: Copy base files to the output folder | |
| shell: pwsh | |
| run: | | |
| cd ${{github.workspace}} | |
| Copy-Item -Path "output/base" -Destination "output/windows/base" -Recurse | |
| Copy-Item -Path "output/d3xp" -Destination "output/windows/d3xp" -Recurse | |
| Copy-Item -Path "blender" -Destination "output/windows/blender" -Recurse | |
| Copy-Item -Path ".github/CHANGELOG.md" -Destination "output/windows" | |
| Copy-Item -Path ".github/CONFIGURATION.md" -Destination "output/windows" | |
| Copy-Item -Path ".github/LICENSE.md" -Destination "output/windows" | |
| Copy-Item -Path ".github/LICENSE_DOOM3.md" -Destination "output/windows" | |
| Copy-Item -Path ".github/README.md" -Destination "output/windows" | |
| Copy-Item -Path ".github/README.md" -Destination "output/windows" | |
| Copy-Item -Path "output/afseditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/debugger.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/decleditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/idstudio.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/guieditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/materialeditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/particleeditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/pdaeditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/scripteditor.bat" -Destination "output/windows" | |
| Copy-Item -Path "output/soundeditor.bat" -Destination "output/windows" | |
| - name: Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: d3moddingkit-windows | |
| path: output/windows/ |