Skip to content
Snippets Groups Projects
Commit c5442f1f authored by Raghunandan Netrapalli Madhusudhan's avatar Raghunandan Netrapalli Madhusudhan
Browse files

Update prepare stage

parent c1d399ae
No related branches found
No related tags found
1 merge request!277Draft: Integrate gecco optestrunner
...@@ -97,7 +97,7 @@ spec: ...@@ -97,7 +97,7 @@ spec:
stage('Linux: Cleanup') { stage('Linux: Cleanup') {
steps { steps {
container('openpass-build') { container('openpass-build') {
sh 'bash repo/utils/ci/scripts/build_prepare.sh' sh 'bash repo/utils/ci/scripts/10_prepare.sh'
} }
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
################################################################################ ################################################################################
# Copyright (c) 2021 in-tech GmbH # Copyright (c) 2021 in-tech GmbH
# 2022-2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) # 2022-2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# #
# This program and the accompanying materials are made available under the # This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at # terms of the Eclipse Public License 2.0 which is available at
...@@ -24,25 +24,8 @@ if [ ! -d repo ]; then ...@@ -24,25 +24,8 @@ if [ ! -d repo ]; then
fi fi
# wipe build directories and pyOpenPASS results # wipe build directories and pyOpenPASS results
if [[ -z "${CROSS_COMPILE_WINDOWS}" ]]; then rm -rf artifacts deps
rm -rf artifacts build dist build-fmi-library build-osi deps
rm -f repo/sim/tests/endToEndTests/pyOpenPASS/result_*.xml
# prepare
mkdir build
else
rm -rf artifacts build-fmi-library build-osi deps
rm -f repo/sim/tests/endToEndTests/pyOpenPASS/result_*.xml
fi
# wipe old python env if exists
rm -rf "repo/.env"
printenv printenv
if [[ "${OSTYPE}" = "msys" ]]; then
pacman -Q
echo "list of native windows python packages"
fi
exit 0 exit 0
#!/bin/bash
################################################################################
# Copyright (c) 2021 in-tech GmbH
# 2024-2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# SPDX-License-Identifier: EPL-2.0
################################################################################
################################################################################
# This script prepares the dependencies for building and testing
################################################################################
MYDIR="$(dirname "$(readlink -f $0)")"
cd "$MYDIR" || exit 1
for SCRIPT in 10_prepare.sh 14_prepare_python_env.sh 15_prepare_thirdParty.sh 20_configure.sh; do
echo
echo "======================================================================="
echo "Executing ${SCRIPT}..."
echo "======================================================================="
echo
./$SCRIPT || exit 1
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment