fix: try fix build by fixing excludes, restore cross
In addition to typoing the http crate name again I managed to remove cross compilation on the non-android cross compilation targets.
This commit is contained in:
parent
2db821d64a
commit
e5c7c084ca
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -96,16 +96,16 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
if: matrix.platform.cross == false
|
||||
run: cargo build --workspace --target ${{ matrix.platform.target }}
|
||||
run: cargo build --workspace
|
||||
|
||||
- name: Build android
|
||||
if: contains(matrix.platform.target, 'android')
|
||||
run: cargo ndk --android-platform 29 --target ${{ matrix.platform.target }} build --workspace --exclude http
|
||||
run: cargo ndk --android-platform 29 --target ${{ matrix.platform.target }} build --workspace --exclude rust-ipfs-http
|
||||
# exclude http on android because openssl
|
||||
|
||||
- name: Build other cross compilations
|
||||
if: contains(matrix.platform.target, 'android') == false && matrix.platform.cross == true
|
||||
run: cargo build --workspace --exclude http
|
||||
run: cargo build --workspace --exclude rust-ipfs-http --target ${{ matrix.platform.target }}
|
||||
# exclude http on other cross compilation targets because openssl
|
||||
|
||||
- name: Rust tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user