[Git][ghc/ghc][wip/backports-8.8] gitlab-ci: Introduce DWARF release jobs for Deb10 and Fedora 27
Ben Gamari
gitlab at gitlab.haskell.org
Sun Jun 21 01:12:28 UTC 2020
Ben Gamari pushed to branch wip/backports-8.8 at Glasgow Haskell Compiler / GHC
Commits:
8d2a38e4 by Ben Gamari at 2020-06-20T21:12:20-04:00
gitlab-ci: Introduce DWARF release jobs for Deb10 and Fedora 27
(cherry picked from commit 481e31740672a37c5b3a8924bba7e15c4080bc2e)
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -25,11 +25,12 @@ stages:
- deploy # push documentation
.only-default: &only-default
- only:
- - master
- - /ghc-[0-9]+\.[0-9]+/
- - merge_requests
- - tags
+ rules:
+ - if: $CI_MERGE_REQUEST_ID
+ - if: $CI_COMMIT_TAG
+ - if: '$CI_COMMIT_BRANCH == "master"'
+ - if: '$CI_COMMIT_BRANCH =~ /ghc-[0.9]+\.[0-9]+/'
+ - if: '$CI_PIPELINE_SOURCE == "web"'
############################################################
# Runner Tags
@@ -43,6 +44,17 @@ stages:
#
+.release: &release
+ variables:
+ BUILD_FLAVOUR: "perf"
+ FLAVOUR: "perf"
+ artifacts:
+ when: always
+ expire_in: 1 year
+ rules:
+ - if: '$RELEASE == "yes"'
+
+
############################################################
# Linting
############################################################
@@ -321,6 +333,20 @@ nightly-i386-linux-deb9:
variables:
- $NIGHTLY
+#################################
+# x86_64-linux-deb10
+#################################
+
+.build-x86_64-linux-deb10:
+ extends: .validate-linux
+ stage: full-build
+ image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb10:$DOCKER_REV"
+ variables:
+ TEST_ENV: "x86_64-linux-deb10"
+ BIN_DIST_PREP_TAR_COMP: "./ghc-x86_64-deb10-linux.tar.xz"
+ cache:
+ key: linux-x86_64-deb10
+
#################################
# x86_64-linux-deb9
#################################
@@ -413,6 +439,15 @@ release-x86_64-linux-deb9-dwarf:
key: linux-x86_64-deb9
+release-x86_64-linux-deb10-dwarf:
+ <<: *release
+ extends: .build-x86_64-linux-deb10
+ variables:
+ CONFIGURE_ARGS: "--enable-dwarf-unwind"
+ BUILD_FLAVOUR: dwarf
+ TEST_ENV: "x86_64-linux-deb10-dwarf"
+ BIN_DIST_PREP_TAR_COMP: "ghc-x86_64-deb10-linux-dwarf.tar.xz"
+
#################################
# x86_64-linux-deb8
#################################
@@ -463,7 +498,7 @@ release-x86_64-linux-centos7:
# x86_64-linux-fedora27
#################################
-validate-x86_64-linux-fedora27:
+.build-x86_64-linux-fedora27:
extends: .validate-linux
stage: full-build
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora27:$DOCKER_REV"
@@ -472,12 +507,28 @@ validate-x86_64-linux-fedora27:
BIN_DIST_PREP_TAR_COMP: "bindistprep/ghc-x86_64-fedora27-linux.tar.xz"
cache:
key: linux-x86_64-fedora27
+
+validate-x86_64-linux-fedora27:
+ extends: .build-x86_64-linux-fedora27
artifacts:
when: always
# These are used for head.hackage jobs therefore we keep them around for
# longer.
expire_in: 8 week
+release-x86_64-linux-fedora27:
+ <<: *release
+ extends: .build-x86_64-linux-fedora27
+
+release-x86_64-linux-fedora27-dwarf:
+ <<: *release
+ extends: .build-x86_64-linux-fedora27
+ variables:
+ CONFIGURE_ARGS: "--enable-dwarf-unwind"
+ BUILD_FLAVOUR: dwarf
+ TEST_ENV: "x86_64-linux-fedora27-dwarf"
+ BIN_DIST_PREP_TAR_COMP: "ghc-x86_64-fedora27-linux-dwarf.tar.xz"
+
############################################################
# Validation via Pipelines (Windows)
############################################################
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8d2a38e41a8117c62754934dbc59d8a92b168244
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8d2a38e41a8117c62754934dbc59d8a92b168244
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200620/3cbc9379/attachment-0001.html>
More information about the ghc-commits
mailing list