Adding iOS matrix for CI.

This commit is contained in:
Seivan Heidari 2019-08-30 14:54:29 +02:00
parent b58c96e4a6
commit 18b790fba8
2 changed files with 6 additions and 6 deletions

View File

@ -32,10 +32,10 @@ matrix:
compiler: clang
# iPhoneOS 64bit
#- env: TARGET=aarch64-apple-ios
# os: osx
# osx_image: xcode9.4
# rust: nightly
- env: TARGET=aarch64-apple-ios
os: osx
osx_image: xcode11
rust: stable
addons:
apt:

View File

@ -37,10 +37,10 @@ rendy-descriptor = "0.4"
serde = { version = "1.0", features = ["serde_derive"], optional = true }
vec_map = "0.8"
[target.'cfg(unix)'.dependencies]
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
gfx-backend-vulkan = { version = "0.3.0", features = ["x11"] }
[target.'cfg(not(unix))'.dependencies]
[target.'cfg(any(not(unix), target_os = "ios", target_os = "macos"))'.dependencies]
gfx-backend-vulkan = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]