[commit: ghc] master: circleci: Add integer-simple build target (50f0cd4)
git at git.haskell.org
git at git.haskell.org
Tue Dec 11 23:21:15 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/50f0cd4647ffc6300c762375419831a11f8648e6/ghc
>---------------------------------------------------------------
commit 50f0cd4647ffc6300c762375419831a11f8648e6
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Dec 11 13:01:00 2018 -0500
circleci: Add integer-simple build target
Fixes #15915.
>---------------------------------------------------------------
50f0cd4647ffc6300c762375419831a11f8648e6
.circleci/config.yml | 27 ++++++++++++++++++++++++++-
.circleci/prepare-system.sh | 2 ++
2 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 8eb1362..5bf0336 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -182,6 +182,29 @@ jobs:
- *store_test_artifacts
- *push_perf_note
+ "validate-x86_64-linux-deb9-integer-simple":
+ resource_class: xlarge
+ docker:
+ - image: ghcci/x86_64-linux-deb9:0.1
+ environment:
+ <<: *buildenv
+ INTEGER_LIBRARY: integer-simple
+ GHC_COLLECTOR_FLAVOR: x86_64-linux-deb9
+ steps:
+ - checkout
+ - *set_git_identity
+ - *prepare
+ - *submodules
+ - *boot
+ - *configure_unix
+ - *make
+ - *bindist
+ - *store_bindist
+ - *test
+ - *store_test_results
+ - *store_test_artifacts
+ - *push_perf_note
+
"validate-x86_64-linux-deb9":
resource_class: xlarge
docker:
@@ -189,7 +212,7 @@ jobs:
environment:
<<: *buildenv
GHC_COLLECTOR_FLAVOR: x86_64-linux-deb9
- TEST_ENV: x86_64-linux
+ TEST_ENV: x86_64-linux-deb9
steps:
- checkout
- *set_git_identity
@@ -441,6 +464,8 @@ workflows:
- validate-x86_64-linux-deb8-unreg
- validate-x86_64-linux-deb8-llvm
- validate-x86_64-linux-deb8-debug
+ - validate-x86_64-linux-deb9
+ - validate-x86_64-linux-deb9-integer-simple
- slow-validate-x86_64-linux-deb8
notify:
diff --git a/.circleci/prepare-system.sh b/.circleci/prepare-system.sh
index 9a16c01..d424243 100755
--- a/.circleci/prepare-system.sh
+++ b/.circleci/prepare-system.sh
@@ -11,6 +11,7 @@ hackage_index_state="@1522046735"
if [[ -z ${BUILD_SPHINX_HTML:-} ]]; then BUILD_SPHINX_HTML=YES; fi
if [[ -z ${BUILD_SPHINX_PDF:-} ]]; then BUILD_SPHINX_PDF=YES; fi
+if [[ -z ${INTEGER_LIBRARY:-} ]]; then INTEGER_LIBRARY=integer-gmp; fi
cat > mk/build.mk <<EOF
V=1
@@ -20,6 +21,7 @@ HSCOLOUR_SRCS=YES
BUILD_SPHINX_HTML=$BUILD_SPHINX_HTML
BUILD_SPHINX_PDF=$BUILD_SPHINX_PDF
BeConservative=YES
+INTEGER_LIBRARY=$INTEGER_LIBRARY
EOF
case "$(uname)" in
More information about the ghc-commits
mailing list