Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexis King
GHC
Commits
9a9679db
Commit
9a9679db
authored
Oct 05, 2020
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: Fix Hadrian bindist names
parent
c4a69f37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
.gitlab-ci.yml
.gitlab-ci.yml
+10
-6
.gitlab/ci.sh
.gitlab/ci.sh
+4
-1
No files found.
.gitlab-ci.yml
View file @
9a9679db
...
...
@@ -212,7 +212,7 @@ lint-release-changelogs:
junit
:
junit.xml
expire_in
:
2 week
paths
:
-
ghc.tar.xz
-
"
$BIN_DIST_NAME.tar.xz"
-
junit.xml
.validate-linux-hadrian
:
...
...
@@ -220,6 +220,7 @@ lint-release-changelogs:
image
:
"
registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"
variables
:
TEST_ENV
:
"
x86_64-linux-deb9-hadrian"
BIN_DIST_NAME
:
"
ghc-x86_64-deb9-linux"
before_script
:
# workaround for docker permissions
-
sudo chown ghc:ghc -R .
...
...
@@ -399,7 +400,7 @@ release-x86_64-freebsd:
HADRIAN_ARGS
:
"
--docs=no-sphinx"
GHC_VERSION
:
8.6.3
CABAL_INSTALL_VERSION
:
3.0.0.0
BIN_DIST_
PREP_TAR_COMP
:
"
ghc-x86_64-portbld-freebsd.tar.xz
"
BIN_DIST_
NAME
:
"
ghc-x86_64-portbld-freebsd
"
TEST_ENV
:
"
x86_64-freebsd-hadrian"
FLAVOUR
:
"
validate"
after_script
:
...
...
@@ -464,6 +465,7 @@ validate-x86_64-darwin:
LANG
:
"
en_US.UTF-8"
CONFIGURE_ARGS
:
--with-intree-gmp
TEST_ENV
:
"
x86_64-darwin-hadrian"
BIN_DIST_NAME
:
"
ghc-x86_64-apple-darwin"
FLAVOUR
:
"
validate"
script
:
-
.gitlab/ci.sh setup
...
...
@@ -479,7 +481,7 @@ validate-x86_64-darwin:
reports
:
junit
:
junit.xml
paths
:
-
ghc.tar.xz
-
"
$BIN_DIST_NAME.tar.xz"
-
junit.xml
.validate-linux
:
...
...
@@ -785,7 +787,7 @@ release-x86_64-linux-deb8:
allow_failure
:
true
variables
:
TEST_ENV
:
"
x86_64-linux-alpine"
BIN_DIST_
PREP_TAR_COMP
:
"
ghc-x86_64-alpine-linux.tar.xz
"
BIN_DIST_
NAME
:
"
ghc-x86_64-alpine-linux
"
# Can't use ld.gold due to #13958.
CONFIGURE_ARGS
:
"
--disable-ld-override"
HADRIAN_ARGS
:
"
--docs=no-sphinx"
...
...
@@ -901,7 +903,7 @@ validate-x86_64-linux-fedora27:
expire_in
:
2 week
when
:
always
paths
:
-
ghc.tar.xz
-
"
$BIN_DIST_NAME.tar.xz"
-
junit.xml
.build-x86_64-windows-hadrian
:
...
...
@@ -909,6 +911,7 @@ validate-x86_64-linux-fedora27:
variables
:
MSYSTEM
:
MINGW64
TEST_ENV
:
"
x86_64-windows"
BIN_DIST_NAME
:
"
ghc-x86_64-unknown-mingw32"
cache
:
key
:
"
x86_64-windows-$WINDOWS_TOOLCHAIN_VERSION"
...
...
@@ -968,6 +971,7 @@ release-x86_64-windows-integer-simple:
variables
:
BIGNUM_BACKEND
:
native
BUILD_FLAVOUR
:
"
perf"
BIN_DIST_NAME
:
"
ghc-x86_64-mingw32-unknown-nogmp"
############################################################
...
...
@@ -985,7 +989,7 @@ doc-tarball:
-
validate-x86_64-windows-hadrian
variables
:
LINUX_BINDIST
:
"
ghc-x86_64-deb9-linux-debug.tar.xz"
WINDOWS_BINDIST
:
"
ghc-x86_64-mingw32.tar.xz"
WINDOWS_BINDIST
:
"
ghc-x86_64-
unknown-
mingw32.tar.xz"
artifacts
:
paths
:
-
haddock.html.tar.xz
...
...
.gitlab/ci.sh
View file @
9a9679db
...
...
@@ -377,10 +377,13 @@ function build_hadrian() {
if
[
-z
"
$FLAVOUR
"
]
;
then
fail
"FLAVOUR not set"
fi
if
[
-z
"
$BIN_DIST_NAME
"
]
;
then
fail
"BIN_DIST_NAME not set"
fi
run_hadrian binary-dist
mv
_build/bindist/ghc
*
.tar.xz
ghc
.tar.xz
mv
_build/bindist/ghc
*
.tar.xz
$BIN_DIST_NAME
.tar.xz
}
function
test_hadrian
()
{
...
...
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