From 1b9c576f53d7d247744da964d2b8a22a708c7533 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 4 Feb 2024 20:17:17 -0800 Subject: [PATCH] ci: Use -p option in CI Signed-off-by: John Nunley --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdbc45db5..c2937a076 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - { name: 'Linux 64bit', target: x86_64-unknown-linux-gnu, os: ubuntu-latest, } - { name: 'X11', target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: '--no-default-features --features=x11' } - { name: 'Wayland', target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: '--no-default-features --features=wayland,wayland-dlopen' } - - { name: 'Android', target: aarch64-linux-android, os: ubuntu-latest, options: '--manifest-path=winit/Cargo.toml --features=android-native-activity', cmd: 'apk --' } + - { name: 'Android', target: aarch64-linux-android, os: ubuntu-latest, options: '--features=android-native-activity', cmd: 'apk --' } - { name: 'Redox OS', target: x86_64-unknown-redox, os: ubuntu-latest, } - { name: 'macOS', target: x86_64-apple-darwin, os: macos-latest, } - { name: 'iOS x86_64', target: x86_64-apple-ios, os: macos-latest, } @@ -125,13 +125,13 @@ jobs: RUSTDOCFLAGS: '--deny=warnings ${{ matrix.platform.rustflags }}' - name: Build crate - run: cargo $CMD build $OPTIONS + run: cargo $CMD build -p winit $OPTIONS - name: Build tests if: > !contains(matrix.platform.target, 'redox') && matrix.toolchain != '1.70.0' - run: cargo $CMD test --no-run $OPTIONS + run: cargo $CMD test -p winit --no-run $OPTIONS - name: Run tests if: >