зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1867872 - Ensure wrench-deps fails when it should. r=taskgraph-reviewers,firefox-build-system-reviewers,jcristau,sergesanspaille
The wrench-deps tasks should trigger when webrender-related Cargo.tomls are updated, and it should fail when they are updated, but the corresponding Cargo.lock isn't. Differential Revision: https://phabricator.services.mozilla.com/D195317
This commit is contained in:
Родитель
d06d043681
Коммит
ae371da659
|
@ -380,6 +380,7 @@ wrench-deps:
|
||||||
script: wrench-deps-vendoring.sh
|
script: wrench-deps-vendoring.sh
|
||||||
sparse-profile: null
|
sparse-profile: null
|
||||||
resources:
|
resources:
|
||||||
|
- 'gfx/wr/**/Cargo.toml'
|
||||||
- 'gfx/wr/Cargo.lock'
|
- 'gfx/wr/Cargo.lock'
|
||||||
- 'gfx/wr/ci-scripts/install-meson.sh'
|
- 'gfx/wr/ci-scripts/install-meson.sh'
|
||||||
toolchain-artifact: public/build/wrench-deps.tar.zst
|
toolchain-artifact: public/build/wrench-deps.tar.zst
|
||||||
|
|
|
@ -12,7 +12,7 @@ cd $GECKO_PATH
|
||||||
export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:$HOME/.cargo/bin
|
export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:$HOME/.cargo/bin
|
||||||
cd gfx/wr/
|
cd gfx/wr/
|
||||||
mkdir .cargo
|
mkdir .cargo
|
||||||
cargo vendor --sync ./Cargo.toml > .cargo/config
|
cargo vendor --locked --sync ./Cargo.toml > .cargo/config
|
||||||
mkdir wrench-deps
|
mkdir wrench-deps
|
||||||
mv vendor .cargo wrench-deps/
|
mv vendor .cargo wrench-deps/
|
||||||
mkdir wrench-deps/cargo-apk
|
mkdir wrench-deps/cargo-apk
|
||||||
|
|
Загрузка…
Ссылка в новой задаче