File tree Expand file tree Collapse file tree 3 files changed +26
-9
lines changed
Expand file tree Collapse file tree 3 files changed +26
-9
lines changed Original file line number Diff line number Diff line change 1919 RELEASE : 1
2020
2121jobs :
22+ uniffi-bindgen-linux :
23+ if : github.repository == 'wireapp/core-crypto'
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v5
27+ - uses : ./.github/actions/setup-and-cache-rust
28+ - uses : ./.github/actions/make/uniffi-bindgen
29+
2230 build-android :
2331 if : github.event_name == 'pull_request'
32+ needs : uniffi-bindgen-linux
2433 uses : ./.github/workflows/build-android.yml
2534
2635 build-jvm-linux :
2736 uses : ./.github/workflows/build-jvm-linux.yml
37+ needs : uniffi-bindgen-linux
2838
2939 build-ios :
3040 uses : ./.github/workflows/build-ios.yml
Original file line number Diff line number Diff line change 3737 - name : build android package
3838 env :
3939 ANDROID_NDK_HOME : /usr/local/lib/android/sdk/ndk/${{ env.ANDROID_NDK_VERSION}}
40+
41+ - name : fetch uniffi bindgen artifact
42+ uses : ./.github/actions/make/uniffi-bindgen
43+
4044 run : |
4145 make ${{ matrix.task }}
4246 - uses : actions/upload-artifact@v4
@@ -45,20 +49,16 @@ jobs:
4549 path : target/${{ matrix.target }}/release/libcore_crypto_ffi.*
4650 retention-days : 1
4751
48- uniffi-bindgen-linux :
49- if : github.repository == 'wireapp/core-crypto'
50- runs-on : ubuntu-latest
51- steps :
52- - uses : actions/checkout@v5
53- - uses : ./.github/actions/setup-and-cache-rust
54- - uses : ./.github/actions/make/uniffi-bindgen
55-
5652 ffi-library :
5753 if : github.repository == 'wireapp/core-crypto'
5854 runs-on : ubuntu-latest
5955 steps :
6056 - uses : actions/checkout@v5
6157 - uses : ./.github/actions/setup-and-cache-rust
58+
59+ - name : fetch uniffi bindgen artifact
60+ uses : ./.github/actions/make/uniffi-bindgen
61+
6262 - run : make ffi-library
6363 - uses : actions/upload-artifact@v4
6464 with :
7171 runs-on : ubuntu-latest
7272 needs :
7373 - build-android
74- - uniffi-bindgen-linux
7574 - ffi-library
7675 steps :
7776 - uses : actions/checkout@v5
Original file line number Diff line number Diff line change 2020 - uses : ./.github/actions/setup-and-cache-rust
2121 with :
2222 target : " x86_64-unknown-linux-gnu"
23+
24+ - name : fetch uniffi bindgen artifact
25+ uses : ./.github/actions/make/uniffi-bindgen
26+
2327 - run : make jvm-linux
2428 - name : upload dynamic library
2529 uses : actions/upload-artifact@v4
3640 - uses : ./.github/actions/setup-and-cache-rust
3741 with :
3842 target : " x86_64-unknown-linux-gnu"
43+
44+ - name : fetch uniffi bindgen artifact
45+ uses : ./.github/actions/make/uniffi-bindgen
46+
3947 - run : make bindings-kotlin-jvm
4048 - name : upload bindings
4149 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments