Add tvOS and watchOS to CI
This commit is contained in:
parent
e6ed8e1a55
commit
e32ea822c3
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -152,12 +152,14 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
with:
|
||||
targets: aarch64-apple-darwin, aarch64-apple-ios
|
||||
components: rust-src
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo test --no-run --target=aarch64-apple-darwin --features=std
|
||||
- run: cargo test --no-run --target=aarch64-apple-ios --features=std
|
||||
- run: cargo test --no-run --target=aarch64-apple-watchos-sim -Zbuild-std --features=std
|
||||
|
||||
cross-link:
|
||||
name: Cross Build/Link
|
||||
@ -273,6 +275,9 @@ jobs:
|
||||
aarch64-kmc-solid_asp3,
|
||||
armv6k-nintendo-3ds,
|
||||
riscv32imc-esp-espidf,
|
||||
# `std` support still in progress. Can be moved up with the other
|
||||
# apple targets after https://github.com/rust-lang/rust/pull/103503
|
||||
aarch64-apple-tvos,
|
||||
]
|
||||
include:
|
||||
# Supported tier 3 targets without libstd support
|
||||
|
@ -18,7 +18,7 @@ compiler_builtins = { version = "0.1", optional = true }
|
||||
core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = { version = "0.2.128", default-features = false }
|
||||
libc = { version = "0.2.136", default-features = false }
|
||||
|
||||
[target.'cfg(target_os = "wasi")'.dependencies]
|
||||
wasi = { version = "0.11", default-features = false }
|
||||
|
Loading…
x
Reference in New Issue
Block a user