Take a crack at updating the GitHub CI to compile the iOS example as well. I may break this one.

This commit is contained in:
Ryan McGrath 2022-08-18 22:25:00 -07:00 committed by Sebastian Imlay
parent c58de62f1d
commit 9decae65eb

View file

@ -58,9 +58,15 @@ jobs:
with:
command: build
args: --features webview --example webview_custom_protocol
# fails because it needs uikit, which is not
# building for me
#- uses: actions-rs/cargo@v1
# with:
# command: build
# args: --example ios-beta
# The below should technically, maybe, probably use the iOS rust toolchain.
# That said, since it's all Objective-C message passing under the hood, we're
# really just looking for whether we've broken the iOS build. It is likely
# that more robust tests/checking infrastructure should exist for this side
# of things as the iOS portion gets iterated on.
#
# (e.g, this at the moment will not catch invalid selector calls, like if an appkit-specific
# selector is used for something on iOS)
- uses: actions-rs/cargo@v1
with:
command: build
args: --example ios-beta --no-default-features --features uikit,autolayout