Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Zubin
GHC
Commits
34fe8734
Commit
34fe8734
authored
6 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: Run nofib on binary distributions
Updates docker images to ensure that the `time` utility is available.
parent
1e607ccc
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
+45
-3
45 additions, 3 deletions
.gitlab-ci.yml
with
45 additions
and
3 deletions
.gitlab-ci.yml
+
45
−
3
View file @
34fe8734
...
...
@@ -2,7 +2,7 @@ variables:
GIT_SSL_NO_VERIFY
:
"
1"
# Commit of ghc/ci-images repository from which to pull Docker images
DOCKER_REV
:
cefaee3c742af193e0f7783f87edb0d35374515c
DOCKER_REV
:
6014fdf2843e07185a1762a95dce6bdedb544f55
# Sequential version number capturing the versions of all tools fetched by
# .gitlab/win32-init.sh.
...
...
@@ -21,7 +21,8 @@ stages:
-
full-build
# Build all the things
-
cleanup
# See Note [Cleanup on Windows]
-
packaging
# Source distribution, etc.
-
hackage
# head.hackage testing
-
testing
# head.hackage correctness and compiler performance testing
-
nofib
-
deploy
# push documentation
.only-default
:
&only-default
...
...
@@ -775,7 +776,7 @@ source-tarball:
.hackage
:
<<
:
*only-default
stage
:
hackage
stage
:
testing
image
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
tags
:
-
x86_64-linux
...
...
@@ -801,6 +802,47 @@ nightly-hackage:
variables
:
-
$NIGHTLY
############################################################
# Nofib testing
############################################################
perf-nofib
:
stage
:
nofib
dependencies
:
-
validate-x86_64-linux-deb9
image
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
only
:
refs
:
-
merge_requests
-
master
-
/ghc-[0-9]+\.[0-9]+/
tags
:
-
x86_64-linux
script
:
-
root=$(pwd)/ghc
-
|
mkdir tmp
tar -xf ghc-x86_64-deb9-linux.tar.xz -C tmp
pushd tmp/ghc-*/
./configure --prefix=$root
make install
popd
rm -Rf tmp
-
export BOOT_HC=$(which ghc)
-
cabal update; cabal install -w $BOOT_HC regex-compat
-
export PATH=$root/bin:$PATH
-
make -C nofib boot mode=fast -j$CPUS
-
"
make
-C
nofib
EXTRA_RUNTEST_OPTS='-cachegrind
+RTS
-V0
-RTS'
NoFibRuns=1
mode=fast
-j$CPUS
2>&1
|
tee
nofib.log"
artifacts
:
expire_in
:
12 week
when
:
always
paths
:
-
nofib.log
############################################################
# Documentation deployment via GitLab Pages
############################################################
pages
:
stage
:
deploy
dependencies
:
...
...
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