cemu-vcpkg/scripts/azure-pipelines/linux/initialize-environment.sh
Billy Robert O'Neal III b8755728ab [vcpkg] Onboard Linux to VMSS, open 'git' port, and switch back to Azure Spot
* Adds scripts to generate scale sets for testing Linux.
    * Note workaround for https://github.com/microsoft/azure-pipelines-agent/pull/2929
* Switches Windows validation to 'Spot' VMs.
* Opens the git port 9418.
* Removes provisioning of the no longer used 'logs' file share.
* Changes Azure region to 'westus2', which is cheaper.
* Adds +x to all the scripts in scripts/azure-pipelines.
* Use 'xml-results' for all platforms instead of 'raw xml results' on Windows.
2020-04-30 21:51:31 -07:00

16 lines
336 B
Bash
Executable File

#!/bin/bash
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: MIT
# Cleans up the environment to prevent contamination across builds.
if [ ! -d "archives" ]; then
ln -s /ci/archives archives
fi
if [ ! -d "installed" ]; then
ln -s /ci/installed installed
fi
rm -rf installed/*
rm -rf buildtrees
rm -rf packages