Update upstream to https://github.com/apache/kafka.git/commit/7733323… #675
This file contains 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: Benchmark | |
on: | |
push: {} | |
workflow_dispatch: {} | |
jobs: | |
depot-remote-cache: | |
name: Depot with Remote Cache | |
runs-on: depot-ubuntu-24.04 | |
defaults: | |
run: | |
working-directory: upstream | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "21" | |
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 | |
with: | |
cache-disabled: true | |
- uses: MathieuSoysal/[email protected] | |
with: | |
file: ~/.gradle/init.gradle | |
old-string: "if (!settings.buildCache?.remote) {" | |
new-string: "if (true) {" | |
- run: ./gradlew --build-cache --continue check | |
depot-cacheless: | |
name: Depot Cacheless | |
runs-on: depot-ubuntu-24.04 | |
defaults: | |
run: | |
working-directory: upstream | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "21" | |
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 | |
with: | |
cache-disabled: true | |
- run: ./gradlew --continue check | |
github-local-cache: | |
name: Github with Local Cache | |
runs-on: ubuntu-24.04 | |
defaults: | |
run: | |
working-directory: upstream | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "21" | |
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 | |
with: | |
cache-cleanup: always # We use --continue to force execution of all tasks | |
- run: ./gradlew --continue check | |
github-cacheless: | |
name: Github Cacheless | |
runs-on: ubuntu-24.04 | |
defaults: | |
run: | |
working-directory: upstream | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "21" | |
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 | |
with: | |
cache-disabled: true | |
- run: ./gradlew --continue check |