gitlab-ci: Move scons build/test commands to a separate shell script
Preparatory, no functional change intended. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:

committed by
Michel Dänzer

parent
8a8388ca67
commit
0374aacac0
12
.gitlab-ci/scons-build.sh
Executable file
12
.gitlab-ci/scons-build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -o xtrace
|
||||
|
||||
if test -n "$LLVM_VERSION"; then
|
||||
export LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
|
||||
fi
|
||||
|
||||
rm -rf build
|
||||
scons $SCONS_TARGET
|
||||
eval $SCONS_CHECK_COMMAND
|
Reference in New Issue
Block a user