1616 # By default, runs on Ubuntu, otherwise, override with the desired os
1717 runs-on : ${{ matrix.platform.os || 'ubuntu-22.04' }}
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 # Set platforms you want to build your binaries on
2122 platform :
@@ -26,31 +27,31 @@ jobs:
2627
2728 - name : Linux x86
2829 target : i686-unknown-linux-musl
29- build-args : " --release"
30+ build-args : " --release --features aws-lc-rs-bindgen "
3031
3132 - name : Linux aarch64
3233 target : aarch64-unknown-linux-musl
3334 build-args : " --release --features=jemalloc"
3435
3536 - name : Linux armv7hf
3637 target : armv7-unknown-linux-musleabihf
37- build-args : " --release"
38+ build-args : " --release --no-default-features --features ring "
3839
3940 - name : Freebsd x86_64
4041 target : x86_64-unknown-freebsd
41- build-args : " --release --features=jemalloc"
42+ build-args : " --release --features aws-lc-rs-bindgen --features =jemalloc"
4243
4344 - name : Freebsd x86
4445 target : i686-unknown-freebsd
45- build-args : " --release"
46+ build-args : " --release --no-default-features --features ring "
4647
4748 - name : Android aarch64
4849 target : aarch64-linux-android
4950 build-args : " --release --features=jemalloc"
5051
5152 - name : Android armv7
5253 target : armv7-linux-androideabi
53- build-args : " --release"
54+ build-args : " --release --no-default-features --features ring "
5455
5556 # - name: Linux mips
5657 # target: mips-unknown-linux-musl
@@ -86,16 +87,16 @@ jobs:
8687 - name : Windows x86
8788 os : windows-latest
8889 target : i686-pc-windows-msvc
89- build-args : " --profile release-with-symbols"
90+ build-args : " --profile release-with-symbols --no-default-features --features ring "
9091
9192 steps :
9293 - name : Install package for linux
9394 if : contains(matrix.platform.target, 'linux')
94- run : sudo apt install musl-tools
95+ run : sudo apt install musl-tools libclang-dev
9596
9697 - name : Install package for Android
9798 if : contains(matrix.platform.target, 'android')
98- run : sudo apt install android-libunwind android-libunwind-dev libunwind-dev
99+ run : sudo apt install android-libunwind android-libunwind-dev libunwind-dev
99100
100101 - name : Set up JDK 17
101102 if : contains(matrix.platform.target, 'android')
@@ -126,6 +127,9 @@ jobs:
126127 if : contains(matrix.platform.target, 'android')
127128 run : cargo install cross --git https://github.com/cross-rs/cross
128129
130+ - name : Install bindgen-cli
131+ run : cargo install bindgen-cli
132+
129133 - name : Show command used for Cargo
130134 run : |
131135 echo "cargo command is: ${{ env.CARGO }}"
0 commit comments