Use xbuild instead of cargo apk in the CI

In addition to cargo apk being deprecated, xbuild also has support for
ios.

Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
John Nunley
2023-09-04 13:36:12 -07:00
parent b938fe9df5
commit f9a975e6e5
5 changed files with 36 additions and 19 deletions

10
xbuild-target/Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "xbuild-target"
version = "0.1.0"
edition = "2021"
[dependencies.winit]
version = "0.29.1-beta"
path = ".."
features = ["android-game-activity"]

4
xbuild-target/README.md Normal file
View File

@@ -0,0 +1,4 @@
# xbuild-target
This is a crate that can be built via `x build` in order to simplify CI testing.

View File

@@ -0,0 +1,6 @@
fn main() {
winit::event_loop::EventLoop::new()
.unwrap()
.run(|_, _, _| todo!())
.ok();
}