Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Futility
Futility
Commits
0ef4737b
Commit
0ef4737b
authored
Jul 13, 2021
by
COLLINSBS email
Browse files
Initial gitlab ci test
parent
55e48bd8
Pipeline
#154488
passed with stage
in 2 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
0ef4737b
before_script
:
-
if [[ -f "/data/test_gcc/gcc-8.3.0/load_dev_env.sh" ]]; then BASE_DIR="/data/gitlab-runner"; . /data/test_gcc/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/data/test_gcc/gcc-8.3.0; else BASE_DIR="/localhome/gitlab-runner"; . /projects/vera/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/projects/vera/gcc-8.3.0; fi
-
which gcc
-
echo $ENV_BASE
-
echo $BASE_DIR
release
:
type
:
test
tags
:
-
linux
variables
:
BLD_NAME
:
"
gnu_release_debug"
BLD_DIR
:
"
/tmp/$BLD_NAME"
artifacts
:
paths
:
-
LastTestsFailed.log
-
LastTest.log
-
CTestCostData.txt
expire_in
:
1 week
when
:
always
script
:
-
which gcc
-
SRC_DIR=`pwd`
-
mkdir -p $BLD_DIR
-
cd $BLD_DIR
-
rm -rf *
-
cmake -DFutility_ENABLE_DBC:BOOL=ON -DCMAKE_Fortran_COMPILER=`which gfortran` -DCMAKE_C_COMPILER=`which gcc` -DCMAKE_CXX_COMPILER=`which g++` $SRC_DIR
-
make -j28
-
ctest -j28
after_script
:
-
SRC_DIR=`pwd`
-
chmod -R a=u $BLD_DIR
-
cd $BLD_DIR
-
cp $BLD_DIR/Testing/Temporary/* $SRC_DIR/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment