Fix CPAN parser and tooling regressions #3797
Workflow file for this run
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: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| # Define a matrix to run the job on multiple operating systems | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 24 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '24' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| # Use Makefile's 'ci' target which handles platform differences | |
| # Windows: builds without tests to avoid Gradle daemon socket errors | |
| # Linux: full build with tests | |
| - name: Build with Make (Windows) | |
| if: runner.os == 'Windows' | |
| shell: cmd | |
| run: make ci | |
| env: | |
| GRADLE_OPTS: "-Dorg.gradle.daemon=false" | |
| - name: Run focused Perl thread gate (Windows) | |
| if: runner.os == 'Windows' | |
| shell: cmd | |
| run: make test-threads-windows | |
| env: | |
| GRADLE_OPTS: "-Dorg.gradle.daemon=false" | |
| - name: Build with Make (Linux) | |
| if: runner.os == 'Linux' | |
| run: make ci | |
| - name: Checkout pinned Perl thread compatibility corpus | |
| if: runner.os == 'Linux' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Perl/perl5 | |
| ref: de80c8ecd40c6d5b677847699e5482b44bc748c6 | |
| path: perl5 | |
| sparse-checkout: | | |
| t | |
| dist/threads | |
| dist/threads-shared | |
| dist/Thread-Queue | |
| dist/Thread-Semaphore | |
| - name: Run Perl thread compatibility gate | |
| if: runner.os == 'Linux' | |
| timeout-minutes: 20 | |
| run: make test-threads | |
| - name: Generate SBOM (Linux only) | |
| if: runner.os == 'Linux' | |
| run: make sbom | |
| - name: Upload SBOM artifacts | |
| if: runner.os == 'Linux' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sbom | |
| path: | | |
| build/reports/sbom.json | |
| retention-days: 90 | |
| - name: Upload test results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results-${{ matrix.os }} | |
| path: | | |
| build/reports/tests/test/ | |
| build/reports/threads/ | |
| build/test-results/testThreadsWindows/ |