Skip to content

Commit

Permalink
Add tvOS and watchOS to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Oct 25, 2022
1 parent e6ed8e1 commit 3978488
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -158,6 +158,7 @@ jobs:
- 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
Expand Down Expand Up @@ -273,6 +274,7 @@ jobs:
aarch64-kmc-solid_asp3,
armv6k-nintendo-3ds,
riscv32imc-esp-espidf,
aarch64-apple-tvos,
]
include:
# Supported tier 3 targets without libstd support
Expand All @@ -287,6 +289,10 @@ jobs:
features: ["rdrand"]
- target: x86_64-unknown-l4re-uclibc
features: ["rdrand"]
# `std` support still in progress. Can be moved up with the other
# apple targets after https://github.com/rust-lang/rust/pull/103503
- target: aarch64-apple-tvos
features: []
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly # Required to build libcore
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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 }
Expand Down

0 comments on commit 3978488

Please sign in to comment.