eecf6ab920
* adds a test_install_profile_vs2019_pipe job to validate a project can build from the SDK Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * missed escaping these variables and breaks runtime dependencines in the install layout Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * Changes to PIPELINE_ENV_OVERRIDE Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * Tries to propagate ENV variables from pipeline jobs to jobs under it Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * Fixes typo Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * echoing a var to understand why is not going to the right path Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * put the COMMAND_CWD in the wrong job Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * adding similar jobs for linux/mac Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * dont pass an empty LY_PROJECTS Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * cmd -> sh, copy-paste mistake Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * inverting check in linux/mac Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * more fixes for linux/mac Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * fixing script paths for macos Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * more fixes for linux/mac Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * Test use of %% instead of !! for windows builds Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> * fixes typo Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
26 lines
613 B
Bash
Executable File
26 lines
613 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) Contributors to the Open 3D Engine Project.
|
|
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
#
|
|
#
|
|
|
|
set -o errexit # exit on the first failure encountered
|
|
|
|
if ! command -v cmake &> /dev/null; then
|
|
echo "[ci_build] CMake not found"
|
|
exit 1
|
|
fi
|
|
|
|
if ! command -v ninja &> /dev/null; then
|
|
echo "[ci_build] Ninja not found"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -n "${COMMAND_CWD}" ]]; then
|
|
echo $(eval echo [ci_build] Changing CWD to $COMMAND_CWD)
|
|
cd $(eval echo ${COMMAND_CWD})
|
|
fi
|