Merge remote-tracking branch 'origin/Development' into Attacks #129
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 project for all platforms | |
| on: | |
| push: | |
| branches: [Development] | |
| pull_request: | |
| branches: [Development] | |
| jobs: | |
| buildForAllSupportedPlatforms: | |
| name: Build for ${{ matrix.targetPlatform }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| targetPlatform: | |
| - StandaloneWindows64 # Build a Windows 64-bit standalone. | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - uses: actions/cache@v3 | |
| with: | |
| path: Library | |
| key: Library-${{ matrix.targetPlatform }} | |
| restore-keys: Library- | |
| - name: Clean up disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /usr/local/share/boost | |
| sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
| docker system prune -af | |
| - if: matrix.targetPlatform == 'Android' | |
| uses: jlumbroso/free-disk-space@v1.3.1 | |
| - uses: game-ci/unity-builder@v4 | |
| env: | |
| UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
| UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
| UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
| with: | |
| targetPlatform: ${{ matrix.targetPlatform }} | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: Build-${{ matrix.targetPlatform }} | |
| path: build/${{ matrix.targetPlatform }} |