diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index d6b2996da9e..00000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build - -on: - push: - branches: - - main - pull_request: - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true - -jobs: - common: - uses: ./.github/workflows/build-common.yml - - required-status-check: - needs: - - common - runs-on: ubuntu-latest - if: always() - steps: - - if: needs.common.result != 'success' - run: exit 1 diff --git a/.github/workflows/stress-test-common.yml b/.github/workflows/stress-test-common.yml new file mode 100644 index 00000000000..c491247c294 --- /dev/null +++ b/.github/workflows/stress-test-common.yml @@ -0,0 +1,49 @@ +name: Stress Test - Java 8 Windows + +on: + pull_request: + +jobs: + stress-test: + runs-on: windows-2022 + strategy: + matrix: + batch: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] + run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + fail-fast: false + max-parallel: 5 + name: "Batch ${{ matrix.batch }} Run ${{ matrix.run }}" + steps: + - name: Support long paths + run: git config --system core.longpaths true + + - uses: actions/checkout@v5 + + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 8 + + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + + - uses: gradle/actions/setup-gradle@v4 + + - name: Test + continue-on-error: true + run: > + ./gradlew + check + -x spotlessCheck + -PtestJavaVersion=8 + -PtestJavaVM=hotspot + --no-build-cache + + - name: Upload failure reports + uses: actions/upload-artifact@v4 + if: failure() + with: + name: failure-reports-batch${{ matrix.batch }}-run${{ matrix.run }} + path: '**/build/reports/tests/**/*'