Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Carl Shapiro
cmucl
Commits
616b30dc
Commit
616b30dc
authored
4 years ago
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
Refactor CI into stages
Refactor CI into 4 stages: install, build, test, benchmark
parent
09c8327a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+107
-18
107 additions, 18 deletions
.gitlab-ci.yml
with
107 additions
and
18 deletions
.gitlab-ci.yml
+
107
−
18
View file @
616b30dc
...
...
@@ -3,54 +3,143 @@ variables:
version
:
"
2020-04-x86"
bootstrap
:
"
"
linux-runner
:
artifacts
:
paths
:
-
ansi-test/test.out
-
benchmarks/cl-bench/results
stages
:
-
install
-
build
-
test
-
benchmark
cache
:
linux:install
:
stage
:
install
tags
:
-
linux
before_script
:
-
git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
-
(cd ansi-test; git checkout rtoy-cmucl-expected-failures)
artifacts
:
paths
:
-
snapshot/
script
:
-
wget -nv $download_url/cmucl-$version-linux.tar.bz2
-
wget -nv $download_url/cmucl-$version-linux.extra.tar.bz2
-
mkdir snapshot
-
(cd snapshot; tar xjf ../cmucl-$version-linux.tar.bz2; tar xjf ../cmucl-$version-linux.extra.tar.bz2)
linux:build
:
stage
:
build
tags
:
-
linux
artifacts
:
paths
:
-
dist/
needs
:
-
job
:
linux:install
artifacts
:
true
script
:
-
bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
-
bin/make-dist.sh -I dist linux-4
linux:test
:
stage
:
test
tags
:
-
linux
artifacts
:
paths
:
-
ansi-test/test.out
-
test.log
needs
:
# Needs artifacts from build (dist/)
-
job
:
linux:build
artifacts
:
true
before_script
:
-
git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
-
(cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script
:
-
bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
-
cd ansi-test
-
make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
-
grep 'No unexpected \(successes\|failures\)' test.out
-
cd ../benchmarks/cl-bench
linux:benchmark
:
stage
:
benchmark
tags
:
-
linux
artifacts
:
paths
:
-
benchmarks/cl-bench/results
needs
:
# Needs artifacts from install (snapshot/) and build (dist/)
-
job
:
linux:install
artifacts
:
true
-
job
:
linux:build
script
:
-
cd benchmarks/cl-bench
-
mkdir tmp
-
CMUCL=../../snapshot/bin/lisp ./run-cmucl.sh
-
CMUCL=../../dist/bin/lisp ./run-cmucl.sh
-
../../snapshot/bin/lisp -load report
osx-runner
:
artifacts
:
paths
:
-
ansi-test/test.out
-
benchmarks/cl-bench/results
osx:install
:
stage
:
install
tags
:
-
osx
before_script
:
-
git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
-
(cd ansi-test; git checkout rtoy-cmucl-expected-failures)
artifacts
:
paths
:
-
snapshot/
script
:
-
curl -s -o cmucl-$version-darwin.tar.bz2 $download_url/cmucl-$version-darwin.tar.bz2
-
mkdir snapshot
-
(cd snapshot; tar xjf ../cmucl-$version-darwin.tar.bz2)
osx:build
:
stage
:
build
tags
:
-
osx
artifacts
:
paths
:
-
dist/
needs
:
-
job
:
osx:install
artifacts
:
true
script
:
-
bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
-
bin/make-dist.sh -I dist darwin-4
osx:test
:
stage
:
test
tags
:
-
osx
artifacts
:
paths
:
-
ansi-test/test.out
-
test.log
needs
:
# Needs artifacts from build (dist/)
-
job
:
osx:build
artifacts
:
true
before_script
:
-
git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
-
(cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script
:
-
bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
-
cd ansi-test
-
make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
-
grep 'No unexpected \(successes\|failures\)' test.out
-
cd ../benchmarks/cl-bench
osx:benchmark
:
stage
:
benchmark
tags
:
-
osx
artifacts
:
paths
:
-
benchmarks/cl-bench/results
needs
:
# Needs artifacts from install (snapshot/) and build (dist/)
-
job
:
osx:install
artifacts
:
true
-
job
:
osx:build
script
:
-
cd benchmarks/cl-bench
-
mkdir tmp
-
CMUCL=../../snapshot/bin/lisp ./run-cmucl.sh
-
CMUCL=../../dist/bin/lisp ./run-cmucl.sh
...
...
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