remiceres triggered CI on develop #72
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: Continuous Integration | |
| run-name: ${{ github.actor }} triggered CI on ${{ github.ref_name }} | |
| on: | |
| push: | |
| branches: ["main", "develop"] | |
| pull_request: | |
| branches: ["main", "develop"] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| checks: write | |
| pull-requests: write | |
| jobs: | |
| build-test: | |
| name: CI (linux-x64) | |
| runs-on: [self-hosted, corese-stack-ubuntu-24] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "25" | |
| cache: gradle | |
| - name: Build and test (lightweight CI) | |
| run: ./gradlew --no-daemon clean check | |
| - name: Publish test results in PR checks | |
| if: always() | |
| # Use the linux variant on self-hosted runner to avoid Docker dependency. | |
| uses: EnricoMi/publish-unit-test-result-action/linux@v2 | |
| with: | |
| files: | | |
| build/test-results/**/*.xml | |
| - name: Upload reports on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: corese-gui-ci-reports | |
| path: | | |
| build/reports/** | |
| build/test-results/** |