Filesystem Fixups #39
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: Build | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Add game versions here | |
| version: [tag_debug_untracked_jul_11_2011] | |
| steps: | |
| - name: Download VC++ 2010 x86 Redistributable | |
| shell: cmd | |
| run: | | |
| curl -L ^ | |
| "https://download.microsoft.com/download/1/6/5/165255e7-1014-4d0a-b094-b6a430a6bffc/vcredist_x86.exe" ^ | |
| -o vcredist_x86_2010.exe | |
| - name: Install VC++ 2010 x86 Redistributable | |
| shell: cmd | |
| run: vcredist_x86_2010.exe /install /quiet /norestart | |
| # Clone the current repo | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| # Clone the secondary repo | |
| - name: Checkout build | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: ChimpsAtSea/Reach-Build | |
| token: ${{ secrets.GH_PAT }} | |
| path: Reach-Build | |
| # Copy Reach-Build/orig -> ./orig | |
| - name: Copy build | |
| run: xcopy /E /I /Y Reach-Build\orig orig | |
| # Copy Reach-Build/XDK -> ./XDK | |
| - name: Copy xdk | |
| run: xcopy /E /I /Y Reach-Build\XDK XDK | |
| # Run configure.py | |
| - name: Configure | |
| run: python configure.py | |
| # Run Ninja | |
| - name: Build | |
| run: ninja | |
| # Upload progress report | |
| - name: Upload report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.version }}_report | |
| path: build/${{ matrix.version }}/report.json |