Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
alexandria
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Fedorov
alexandria
Commits
ecac5bf1
Unverified
Commit
ecac5bf1
authored
3 years ago
by
Eric Timmons
Browse files
Options
Downloads
Patches
Plain Diff
Add Gitlab CI
parent
ec87ecc0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+27
-0
27 additions, 0 deletions
.gitlab-ci.yml
alexandria-tests.asd
+8
-4
8 additions, 4 deletions
alexandria-tests.asd
scripts/ci-test.lisp
+5
-0
5 additions, 0 deletions
scripts/ci-test.lisp
with
40 additions
and
4 deletions
.gitlab-ci.yml
0 → 100644
+
27
−
0
View file @
ecac5bf1
include
:
project
:
'
clci/gitlab-ci'
ref
:
release/v2-dev
file
:
-
definitions.gitlab-ci.yml
-
test-pipeline.gitlab-ci.yml
variables
:
CLCI_INSTALL_QUICKLISP_CLIENT
:
"
yes"
# Off by default because it's proprietary and has a separate license.
CLCI_TEST_ALLEGRO
:
"
yes"
# Off by default because the Docker image is a bit out of date, due to
# upstream churn.
CLCI_TEST_CLASP
:
"
yes"
# Alexandria is a non-commercial project, so we can use the express version
# of Allegro for testing.
I_AGREE_TO_ALLEGRO_EXPRESS_LICENSE
:
"
yes"
# This section is not strictly required, but prevents Gitlab CI from launching
# multiple redundent pipelines when a Merge Request is opened.
workflow
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_COMMIT_BRANCH
&&
$CI_OPEN_MERGE_REQUESTS'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH'
-
if
:
'
$CI_COMMIT_TAG'
This diff is collapsed.
Click to expand it.
alexandria-tests.asd
+
8
−
4
View file @
ecac5bf1
...
...
@@ -6,7 +6,11 @@
:components
((
:file
"alexandria-1/tests"
)
(
:file
"alexandria-2/tests"
))
:perform
(
test-op
(
o
c
)
(
flet
((
run-tests
(
&rest
args
)
(
apply
(
intern
(
string
'
#:run-tests
)
'
#:alexandria-tests
)
args
)))
(
run-tests
:compiled
nil
)
(
run-tests
:compiled
t
))))
(
let
((
unexpected-failure-p
nil
))
(
flet
((
run-tests
(
&rest
args
)
(
unless
(
apply
(
intern
(
string
'
#:run-tests
)
'
#:alexandria-tests
)
args
)
(
setf
unexpected-failure-p
t
))))
(
run-tests
:compiled
nil
)
(
run-tests
:compiled
t
))
(
when
unexpected-failure-p
(
error
"Unexpected test failure"
)))))
This diff is collapsed.
Click to expand it.
scripts/ci-test.lisp
0 → 100644
+
5
−
0
View file @
ecac5bf1
;; Install all the deps
(
ql:quickload
"alexandria-tests"
)
;; Run the tests!
(
asdf:test-system
"alexandria"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment