Skip to content

Commit 8871a9d

Browse files
committed
build(jvm): CI builds JVM bindings in parallel
1 parent f2c534a commit 8871a9d

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/build-jvm-linux.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,23 @@ jobs:
2020
- uses: ./.github/actions/setup-and-cache-rust
2121
with:
2222
target: "x86_64-unknown-linux-gnu"
23-
- name: build jvm-linux
24-
run: |
25-
make jvm-linux
23+
- run: make jvm-linux
2624
- name: upload dynamic library
2725
uses: actions/upload-artifact@v4
2826
with:
2927
name: jvm-linux-so-file-${{ github.run_id }}
3028
path: target/x86_64-unknown-linux-gnu/release/*.so
3129
retention-days: 1
30+
31+
generate-jvm-bindings:
32+
if: github.repository == 'wireapp/core-crypto'
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v5
36+
- uses: ./.github/actions/setup-and-cache-rust
37+
with:
38+
target: "x86_64-unknown-linux-gnu"
39+
- run: make bindings-kotlin-jvm
3240
- name: upload bindings
3341
uses: actions/upload-artifact@v4
3442
with:

0 commit comments

Comments
 (0)