Skip to content

Commit 1d231bc

Browse files
committed
Include benchmarks in PR validation: both JMH and Swift
1 parent 0a1b742 commit 1d231bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
run: |
7070
./gradlew build -x test --no-daemon # just build
7171
./gradlew build --info --no-daemon
72+
- name: Gradle build (benchmarks)
73+
run: |
74+
./gradlew compileJmh --info --no-daemon
7275
7376
test-swift:
7477
name: Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})
@@ -130,3 +133,5 @@ jobs:
130133
- name: Build (Swift) Sample Apps
131134
run: |
132135
find Samples/ -name Package.swift -maxdepth 2 -exec swift build --package-path $(dirname {}) \;;
136+
- name: Build (Swift) Benchmarks
137+
run: "swift package --package-path Benchmarks/ benchmark list"

0 commit comments

Comments
 (0)