Skip to content

Commit 01b75fd

Browse files
dfa1claude
andcommitted
fix(ci): use full package build in benchmark workflow
Avoid reduced reactor (-pl performance -am) which hides flatc failures. Drop -q to expose build errors. Run java -jar directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9a9c273 commit 01b75fd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/benchmark.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,18 @@ jobs:
3737
unzip -j flatc.zip flatc
3838
sudo install -m 755 flatc /usr/local/bin/flatc
3939
40+
- name: Build
41+
run: ./mvnw package -DskipTests
42+
4043
- name: Run benchmarks
41-
run: ./bench
44+
run: |
45+
java \
46+
--add-opens java.base/java.nio=ALL-UNNAMED \
47+
--enable-native-access=ALL-UNNAMED \
48+
--sun-misc-unsafe-memory-access=allow \
49+
-jar performance/target/benchmarks.jar \
50+
-rf json \
51+
-rff performance/target/benchmark-result.json
4252
4353
- name: Store benchmark results
4454
uses: benchmark-action/github-action-benchmark@v1

0 commit comments

Comments
 (0)