From 953d8695a4b9cf0d11b4767426760eace3586cd8 Mon Sep 17 00:00:00 2001 From: Oleksandr Karpovich Date: Fri, 4 Jul 2025 10:25:54 +0200 Subject: [PATCH] Add CI to build and run benchmarks/multiplatform on PRs (#5355) ## Testing N/A ## Release Notes N/A --- .github/workflows/benchmarks-smoke.yml | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 .github/workflows/benchmarks-smoke.yml diff --git a/.github/workflows/benchmarks-smoke.yml b/.github/workflows/benchmarks-smoke.yml new file mode 100644 index 0000000000..b32c010a49 --- /dev/null +++ b/.github/workflows/benchmarks-smoke.yml @@ -0,0 +1,55 @@ +name: Build and run benchmarks/multiplatform +on: + pull_request: + paths: + - 'benchmarks/multiplatform/**' + - '.github/workflows/benchmarks-smoke.yml' + push: + branches: + - master + paths: + - 'benchmarks/multiplatform/**' + - '.github/workflows/benchmarks-smoke.yml' + +jobs: + benchmarks-macos-arm64: + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'corretto' + java-version: '17' + - name: K/Native MacOS arm64 + shell: bash + run: | + cd benchmarks/multiplatform + ./gradlew :benchmarks:runReleaseExecutableMacosArm64 + + benchmarks-desktop-jvm: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'corretto' + java-version: '17' + - name: Desktop/JVM target + shell: bash + run: | + cd benchmarks/multiplatform + ./gradlew :benchmarks:run + + benchmarks-wasm-d8: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'corretto' + java-version: '17' + - name: K/Wasm D8 + shell: bash + run: | + cd benchmarks/multiplatform + ./gradlew :benchmarks:wasmJsD8ProductionRun \ No newline at end of file