fune/taskcluster/scripts/misc/wrench-windows-tests.sh
Mike Hommey 557b38098e Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-12 22:52:54 +00:00

28 lines
935 B
Bash

#!/bin/bash
set -x -e -v
# This script runs the windows CI scripts for standalone WebRender. The CI
# scripts build WebRender in various "standalone" (without Gecko)
# configurations and also run WebRender's reftest suite using the `wrench`
# tool in the WebRender repository.
# The builds involved require a number of dependencies to be available,
# which is all handled below.
cd $GECKO_PATH
export PATH=$PATH:$(cd $MOZ_FETCHES_DIR && pwd)/rustc/bin
. taskcluster/scripts/misc/vs-setup.sh
# Move the wrench-deps vendored crates into place
mv ${MOZ_FETCHES_DIR}/wrench-deps/{vendor,.cargo} gfx/wr
cd gfx/wr
# This is needed for the WebRender standalone reftests
powershell.exe 'iex (Get-Content -Raw ci-scripts\set-screenresolution.ps1); Set-ScreenResolution 1920 1080'
# Run the CI scripts
export CARGOFLAGS='--verbose --frozen'
cmd.exe /c 'ci-scripts\windows-tests.cmd'
. $GECKO_PATH/taskcluster/scripts/misc/vs-cleanup.sh