mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use --locked when building in CI (#31720)
Thus the build will immediately fail if a PR modifies Cargo.toml but forgets to include the changes in Cargo.lock This was previously checked by lockfile_changed.sh after building normally, wasting resources.
This commit is contained in:
parent
ecabdc2583
commit
ea62a5e24f
5 changed files with 4 additions and 19 deletions
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
|
@ -69,7 +69,7 @@ jobs:
|
|||
env:
|
||||
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
python3 ./mach build --android --target ${{ matrix.arch }} --${{ inputs.profile }}
|
||||
python3 ./mach build --locked --android --target ${{ matrix.arch }} --${{ inputs.profile }}
|
||||
cp -r target/cargo-timings target/cargo-timings-android-${{ matrix.arch }}
|
||||
# TODO: This is disabled since APK crashes during startup.
|
||||
# See https://github.com/servo/servo/issues/31134
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue