From fae7d68924a7a7cb16574169087b9d775843e466 Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Fri, 12 Apr 2024 10:49:56 +0200 Subject: [PATCH] ci: add visionos target --- .github/workflows/main.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d83a0e5..802f26e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,7 @@ jobs: strategy: fail-fast: false matrix: - target: ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu"] + target: ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu", "aarch64-apple-visionos"] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly @@ -108,7 +108,7 @@ jobs: strategy: fail-fast: false matrix: - target: ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu"] + target: ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu", "aarch64-apple-visionos"] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly # NOTE: need nightly for `doc_cfg` feature. diff --git a/Makefile b/Makefile index 6b7a1c81..c4b11b88 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Targets available via Rustup that are supported. # NOTE: keep in sync with the CI and docs.rs targets. -TARGETS ?= "aarch64-apple-ios" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-unknown-fuchsia" "x86_64-pc-windows-msvc" "x86_64-pc-solaris" "x86_64-unknown-freebsd" "x86_64-unknown-illumos" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux-musl" "x86_64-unknown-netbsd" "x86_64-unknown-redox" "armv7-linux-androideabi" "i686-linux-android" +TARGETS ?= "aarch64-apple-ios" "aarch64-apple-visionos" "aarch64-linux-android" "x86_64-apple-darwin" "x86_64-unknown-fuchsia" "x86_64-pc-windows-msvc" "x86_64-pc-solaris" "x86_64-unknown-freebsd" "x86_64-unknown-illumos" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux-musl" "x86_64-unknown-netbsd" "x86_64-unknown-redox" "armv7-linux-androideabi" "i686-linux-android" test: cargo test --all-features