Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
clpm
clpm
Commits
1d13cb10
Commit
1d13cb10
authored
Feb 21, 2021
by
Eric Timmons
Browse files
Add a test job
parent
e0829817
Pipeline
#2963
canceled with stages
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1d13cb10
...
...
@@ -9,6 +9,7 @@ include:
stages
:
-
prep
-
build
-
test
##############################################################################
# Build Docker images for CI
...
...
@@ -202,3 +203,30 @@ dynamic-release:windows:amd64:
needs
:
[]
tags
:
-
windows-amd64
##############################################################################
# Tests
##############################################################################
test-static-release:linux:amd64:
stage
:
test
image
:
clfoundation/sbcl:$SBCL_VERSION
variables
:
ARCH
:
amd64
before_script
:
# This looks a little funky, but only one of
# $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME and $CI_COMMIT_BRANCH will ever be
# defined at once.
-
git checkout -B $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME $CI_COMMIT_BRANCH $CI_COMMIT_SHA
script
:
# Install from the release archive!
-
VERSION=$(sbcl --script scripts/version.lisp)
-
cd /tmp
-
tar xvf $CI_PROJECT_DIR/releases/static/clpm-$VERSION-linux-$ARCH.tar.gz
-
cd clpm-$VERSION-linux-$ARCH
-
sh install.sh
-
clpm version -VV
-
cd $CI_PROJECT_DIR
-
sbcl --script scripts/test.lisp
needs
:
-
static-release:linux:amd64
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