Metal ios backend #331
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: Test JavaSE simulator integration scripts | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/scripts-javase.yml' | |
| - 'scripts/run-javase-simulator-integration-tests.sh' | |
| - 'scripts/lib/cn1ss.sh' | |
| - 'scripts/common/java/**' | |
| - 'scripts/javase/**' | |
| - '!scripts/javase/**/*.md' | |
| - 'Ports/JavaSE/**' | |
| - '!Ports/JavaSE/**/*.md' | |
| push: | |
| branches: [ master ] | |
| paths: | |
| - '.github/workflows/scripts-javase.yml' | |
| - 'scripts/run-javase-simulator-integration-tests.sh' | |
| - 'scripts/lib/cn1ss.sh' | |
| - 'scripts/common/java/**' | |
| - 'scripts/javase/**' | |
| - '!scripts/javase/**/*.md' | |
| - 'Ports/JavaSE/**' | |
| - '!Ports/JavaSE/**/*.md' | |
| jobs: | |
| javase-simulator-tests: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.CN1SS_GH_TOKEN }} | |
| GH_TOKEN: ${{ secrets.CN1SS_GH_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK 8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '8' | |
| distribution: 'zulu' | |
| - name: Set TMPDIR | |
| run: echo "TMPDIR=${{ runner.temp }}" >> "$GITHUB_ENV" | |
| - name: Cache codenameone-tools | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ runner.temp }}/codenameone-tools | |
| key: ${{ runner.os }}-cn1-tools-${{ hashFiles('scripts/setup-workspace.sh') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cn1-tools- | |
| - name: Setup workspace | |
| run: ./scripts/setup-workspace.sh -q -DskipTests | |
| - name: Run JavaSE simulator integration screenshot tests | |
| run: ./scripts/run-javase-simulator-integration-tests.sh | |
| - name: Upload JavaSE simulator artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: javase-simulator-tests | |
| path: artifacts/javase-simulator-tests | |
| if-no-files-found: warn | |
| retention-days: 14 |