From 2094a7166722fa7b61f349e518d544c185af897c Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 24 Nov 2022 16:32:14 +0100 Subject: [PATCH] CI/android: Select wgpu example by package name instead of manifest path Specifying a manifest path still allows `cargo` and `cargo-apk` to find the workspace a package belongs to. We've decided that properly implementing [package selection](https://doc.rust-lang.org/cargo/commands/cargo-build.html#package-selection) between `cargo-apk` and `cargo-subcommand` would be [nontrivial](https://github.com/dvc94ch/cargo-subcommand/pull/23/files#diff-23af5356f6001cd3993cd3c801fb7716ea02d1e504081b9fb569332db6107e80R53-R57) and ended up requiring the package to be selected explicitly via `-p` for now. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9cd25742e3..a5a216ecd8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,7 +116,7 @@ jobs: echo "::endgroup::" echo "::group::Build WGPU example for Android" - cargo apk build --manifest-path examples/runners/wgpu/Cargo.toml --features use-installed-tools --no-default-features + cargo apk build -p example-runner-wgpu --features use-installed-tools --no-default-features echo "::endgroup::" lint: