fix score text on phones #582
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 the game | |
| on: | |
| push: | |
| branches: [master-dev] | |
| pull_request: | |
| branches: [master-dev] | |
| workflow_dispatch: | |
| jobs: | |
| BuildCaches: | |
| name: ${{ matrix.name }} | |
| permissions: write-all | |
| strategy: | |
| matrix: | |
| include: | |
| - name: Linux | |
| os: ubuntu-24.04 | |
| setupScript: sh ./setup/unix.sh | |
| CACHE_NAME: P-Slice.1.0.desktop-cache | |
| - name: Mobile | |
| os: macos-15 | |
| setupScript: sh ./setup/mobile.sh | |
| CACHE_NAME: P-Slice.1.0.mobile-cache | |
| uses: ./.github/workflows/dependencies.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| CACHE_NAME: ${{ matrix.CACHE_NAME }} | |
| setupScript: ${{ matrix.setupScript }} | |
| BuildMacos: | |
| name: macos | |
| needs: BuildCaches | |
| permissions: write-all | |
| uses: ./.github/workflows/mac-universal.yml | |
| with: | |
| exportPath: macos | |
| cachePath: P-Slice.1.0.build-macos | |
| cacheLibrariesPath: P-Slice.1.0.mobile-cache | |
| artifactName: P-Slice.1.0.macos | |
| artifactPath: export/release/macos/bin/* | |
| BuildDesktop: | |
| name: ${{ matrix.name }} | |
| needs: BuildCaches | |
| permissions: write-all | |
| strategy: | |
| matrix: | |
| include: | |
| - name: Windows | |
| os: windows-2022 | |
| buildArgs: "windows -final" | |
| exportPath: windows | |
| artifactName: P-Slice.1.0.windows | |
| cacheLibrariesPath: P-Slice.1.0.desktop-cache | |
| cachePath: P-Slice.1.0.build-windows | |
| artifactPath: export\release\windows\bin\* | |
| - name: Linux | |
| os: ubuntu-22.04 | |
| buildArgs: "linux -final" | |
| exportPath: linux | |
| artifactName: P-Slice.1.0.linux | |
| cachePath: P-Slice.1.0.build-linux | |
| cacheLibrariesPath: P-Slice.1.0.desktop-cache | |
| artifactPath: export/release/linux/bin/* | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| name: ${{ matrix.name }} | |
| os: ${{ matrix.os }} | |
| buildArgs: ${{ matrix.buildArgs }} | |
| cacheLibrariesPath: ${{ matrix.cacheLibrariesPath }} | |
| exportPath: ${{ matrix.exportPath }} | |
| artifactName: ${{ matrix.artifactName }} | |
| artifactPath: ${{ matrix.artifactPath }} | |
| cachePath: ${{matrix.cachePath}} | |
| BuildMobile: | |
| permissions: write-all | |
| needs: BuildCaches | |
| name: ${{ matrix.name }} | |
| strategy: | |
| matrix: | |
| include: | |
| - name: Android | |
| os: ubuntu-24.04 | |
| exportPath: android | |
| buildArgs: "android" | |
| cacheLibrariesPath: P-Slice.1.0.mobile-cache | |
| artifactName: P-Slice.1.0.android | |
| cachePath: P-Slice.1.0.build-android | |
| artifactPath: "export/release/android/bin/app/build/outputs/apk/release/*.apk" | |
| - name: iOS | |
| os: macos-15 | |
| buildArgs: "ios -nosign -final" | |
| exportPath: ios/PSliceEngine/haxe/build/Release-iphoneos-64/ | |
| cacheLibrariesPath: P-Slice.1.0.mobile-cache | |
| artifactName: P-Slice.1.0.ios | |
| artifactPath: "export/release/ios/build/Release-iphoneos/*.ipa" | |
| cachePath: P-Slice.1.0.build-ios | |
| uses: ./.github/workflows/build.yml | |
| secrets: inherit | |
| with: | |
| name: ${{ matrix.name }} | |
| os: ${{ matrix.os }} | |
| buildArgs: ${{ matrix.buildArgs }} | |
| exportPath: ${{ matrix.exportPath }} | |
| artifactName: ${{ matrix.artifactName }} | |
| cacheLibrariesPath: ${{ matrix.cacheLibrariesPath }} | |
| artifactPath: ${{ matrix.artifactPath }} | |
| cachePath: ${{matrix.cachePath}} |