mirror of https://github.com/briansmith/webpki
CI/CD: Reduce the number of targets.
This commit is contained in:
parent
0a3c5dd93d
commit
935e846fa7
|
@ -130,19 +130,11 @@ jobs:
|
|||
- # Default
|
||||
|
||||
target:
|
||||
- aarch64-apple-ios
|
||||
- aarch64-apple-darwin
|
||||
- aarch64-linux-android
|
||||
- aarch64-unknown-linux-gnu
|
||||
- aarch64-unknown-linux-musl
|
||||
# There is no platform-specific code in webpki. Choose a handful of
|
||||
# platforms mostly to smoketest that the build machinery in mk/ is
|
||||
# portable.
|
||||
- arm-unknown-linux-gnueabihf
|
||||
- armv7-linux-androideabi
|
||||
- armv7-unknown-linux-musleabihf
|
||||
- i686-pc-windows-msvc
|
||||
- i686-unknown-linux-gnu
|
||||
- i686-unknown-linux-musl
|
||||
- x86_64-pc-windows-gnu
|
||||
- x86_64-pc-windows-msvc
|
||||
- x86_64-apple-darwin
|
||||
- x86_64-unknown-linux-musl
|
||||
- x86_64-unknown-linux-gnu
|
||||
|
@ -163,89 +155,17 @@ jobs:
|
|||
- beta
|
||||
|
||||
exclude:
|
||||
# The stable channel doesn't have aarch64-apple-darwin support yet.
|
||||
- target: aarch64-apple-darwin
|
||||
rust_channel: stable
|
||||
|
||||
# The MSRV channel doesn't have aarch64-apple-darwin support yet.
|
||||
- target: aarch64-apple-darwin
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# Only do MSRV testing on release builds.
|
||||
- mode: # debug
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# 1.46.0 doesn't support `-Clink-self-contained`.
|
||||
- target: aarch64-unknown-linux-musl
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# 1.46.0 doesn't support `-Clink-self-contained`.
|
||||
- target: armv7-unknown-linux-musleabihf
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# 1.46.0 doesn't support `-Clink-self-contained`.
|
||||
- target: i686-unknown-linux-musl
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# 1.46.0 doesn't support `-Clink-self-contained`.
|
||||
- target: x86_64-unknown-linux-musl
|
||||
rust_channel: 1.46.0
|
||||
|
||||
# https://github.com/rust-lang/rust/pull/67429
|
||||
- target: x86_64-pc-windows-gnu
|
||||
rust_channel: 1.46.0
|
||||
|
||||
include:
|
||||
- target: aarch64-apple-darwin
|
||||
# macos-latest didn't work.
|
||||
host_os: macos-11.0
|
||||
# GitHub Actions doesn't have a way to run this target yet.
|
||||
cargo_options: --no-run
|
||||
|
||||
- target: aarch64-apple-ios
|
||||
host_os: macos-latest
|
||||
# GitHub Actions doesn't have a way to run this target yet.
|
||||
cargo_options: --no-run
|
||||
|
||||
- target: aarch64-linux-android
|
||||
host_os: ubuntu-18.04
|
||||
# TODO: https://github.com/briansmith/ring/issues/486
|
||||
cargo_options: --no-run
|
||||
|
||||
- target: aarch64-unknown-linux-gnu
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: aarch64-unknown-linux-musl
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: arm-unknown-linux-gnueabihf
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: armv7-linux-androideabi
|
||||
host_os: ubuntu-18.04
|
||||
# TODO: https://github.com/briansmith/ring/issues/838
|
||||
cargo_options: --no-run
|
||||
|
||||
- target: armv7-unknown-linux-musleabihf
|
||||
host_os: ubuntu-18.04
|
||||
# TODO: https://github.com/briansmith/ring/issues/1115
|
||||
cargo_options: --no-run
|
||||
|
||||
- target: i686-pc-windows-msvc
|
||||
host_os: windows-latest
|
||||
|
||||
- target: i686-unknown-linux-gnu
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: i686-unknown-linux-musl
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: x86_64-pc-windows-gnu
|
||||
host_os: windows-latest
|
||||
|
||||
- target: x86_64-pc-windows-msvc
|
||||
host_os: windows-latest
|
||||
|
||||
- target: x86_64-apple-darwin
|
||||
host_os: macos-latest
|
||||
|
||||
|
@ -294,8 +214,6 @@ jobs:
|
|||
|
||||
# TODO: targets
|
||||
target:
|
||||
- aarch64-unknown-linux-gnu
|
||||
- i686-unknown-linux-gnu
|
||||
- x86_64-unknown-linux-musl
|
||||
|
||||
mode:
|
||||
|
@ -307,26 +225,9 @@ jobs:
|
|||
|
||||
# TODO: targets
|
||||
include:
|
||||
# TODO: Use the -musl target after
|
||||
# https://github.com/rust-lang/rust/issues/79556 and
|
||||
# https://github.com/rust-lang/rust/issues/79555 are fixed.
|
||||
- target: aarch64-unknown-linux-gnu
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
# TODO: Use the -musl target after
|
||||
# https://github.com/rust-lang/rust/issues/79556 and
|
||||
# https://github.com/rust-lang/rust/issues/79555 are fixed.
|
||||
- target: i686-unknown-linux-gnu
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
- target: x86_64-unknown-linux-musl
|
||||
host_os: ubuntu-18.04
|
||||
|
||||
# TODO: Add an ARM target after
|
||||
# https://github.com/rust-lang/rust/issues/79555 is fixed. This may
|
||||
# require https://github.com/rust-lang/rust/issues/79555 to be fixed
|
||||
# too.
|
||||
|
||||
steps:
|
||||
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
|
||||
run: sudo apt-get update -y
|
||||
|
|
Loading…
Reference in New Issue