Skip to content

Commit e81de83

Browse files
eymarWojciech Liberda
authored andcommitted
Add CI to build and run benchmarks/multiplatform on PRs (JetBrains#5355)
## Testing N/A ## Release Notes N/A
1 parent 800925d commit e81de83

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build and run benchmarks/multiplatform
2+
on:
3+
pull_request:
4+
paths:
5+
- 'benchmarks/multiplatform/**'
6+
- '.github/workflows/benchmarks-smoke.yml'
7+
push:
8+
branches:
9+
- master
10+
paths:
11+
- 'benchmarks/multiplatform/**'
12+
- '.github/workflows/benchmarks-smoke.yml'
13+
14+
jobs:
15+
benchmarks-macos-arm64:
16+
runs-on: macos-14
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-java@v4
20+
with:
21+
distribution: 'corretto'
22+
java-version: '17'
23+
- name: K/Native MacOS arm64
24+
shell: bash
25+
run: |
26+
cd benchmarks/multiplatform
27+
./gradlew :benchmarks:runReleaseExecutableMacosArm64
28+
29+
benchmarks-desktop-jvm:
30+
runs-on: ubuntu-24.04
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-java@v4
34+
with:
35+
distribution: 'corretto'
36+
java-version: '17'
37+
- name: Desktop/JVM target
38+
shell: bash
39+
run: |
40+
cd benchmarks/multiplatform
41+
./gradlew :benchmarks:run
42+
43+
benchmarks-wasm-d8:
44+
runs-on: ubuntu-24.04
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: actions/setup-java@v4
48+
with:
49+
distribution: 'corretto'
50+
java-version: '17'
51+
- name: K/Wasm D8
52+
shell: bash
53+
run: |
54+
cd benchmarks/multiplatform
55+
./gradlew :benchmarks:wasmJsD8ProductionRun

0 commit comments

Comments
 (0)