Make arm and Android builds check-only
This commit is contained in:
parent
f5583312c5
commit
08c417a97e
|
|
@ -96,18 +96,22 @@ jobs:
|
||||||
target: arm-linux-androideabi
|
target: arm-linux-androideabi
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
check_only: true
|
||||||
- thing: arm64-android
|
- thing: arm64-android
|
||||||
target: aarch64-linux-android
|
target: aarch64-linux-android
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
check_only: true
|
||||||
- thing: i686-android
|
- thing: i686-android
|
||||||
target: i686-linux-android
|
target: i686-linux-android
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
check_only: true
|
||||||
- thing: x86_64-android
|
- thing: x86_64-android
|
||||||
target: x86_64-linux-android
|
target: x86_64-linux-android
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
check_only: true
|
||||||
- thing: aarch64-ios
|
- thing: aarch64-ios
|
||||||
target: aarch64-apple-ios
|
target: aarch64-apple-ios
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
|
|
@ -126,14 +130,19 @@ jobs:
|
||||||
target: i686-unknown-linux-gnu
|
target: i686-unknown-linux-gnu
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
apt_packages: gcc-multilib g++-multilib
|
||||||
- thing: arm-linux
|
- thing: arm-linux
|
||||||
target: arm-unknown-linux-gnueabi
|
target: arm-unknown-linux-gnueabi
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
apt_packages: gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
|
||||||
|
check_only: true
|
||||||
- thing: aarch64-linux
|
- thing: aarch64-linux
|
||||||
target: aarch64-unknown-linux-gnu
|
target: aarch64-unknown-linux-gnu
|
||||||
rust: stable
|
rust: stable
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
apt_packages: crossbuild-essential-arm64
|
||||||
|
check_only: true
|
||||||
- thing: x86_64-musl
|
- thing: x86_64-musl
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
rust: stable
|
rust: stable
|
||||||
|
|
@ -163,7 +172,7 @@ jobs:
|
||||||
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
|
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: rustup target add ${{ matrix.target }}
|
- run: rustup target add ${{ matrix.target }}
|
||||||
- name: Install Linux cross-compile dependencies
|
- name: Install target-specific APT dependencies
|
||||||
if: "matrix.apt_packages != ''"
|
if: "matrix.apt_packages != ''"
|
||||||
run: sudo apt update && sudo apt install -y ${{ matrix.apt_packages }}
|
run: sudo apt update && sudo apt install -y ${{ matrix.apt_packages }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue