Skip to content

Commit

Permalink
3.4.1.0 gitlab CI fixes (#7728)
Browse files Browse the repository at this point in the history
* Backport fix for darwin M1 to cabal.project.release

* Clean up dirty merge

* remove unnecessary flags from release project file

Co-authored-by: Emily Pillmore <emilypi@cohomolo.gy>
  • Loading branch information
hasufell and emilypi committed Oct 8, 2021
1 parent a41797d commit 94eb63d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 73 deletions.
68 changes: 0 additions & 68 deletions .gitlab/common.sh
Expand Up @@ -47,71 +47,3 @@ function run() {
info "Running $*..."
"$@" || ( error "$* failed"; return 1; )
}
.gitlab-ci.yml
+
61
-
0

Viewed
variables:
# Commit of ghc/ci-images repository from which to pull Docker images
DOCKER_REV: "853f348f9caf38b08740b280296fbd34e09abb3a"

GHC_VERSION: 8.10.7
CABAL_INSTALL_VERSION: 3.2.0.0

workflow:
rules:
- if: $CI_COMMIT_TAG
when: always
- if: '$CI_PIPELINE_SOURCE == "web"'
when: always
- when: never

.build:
script:
- bash .gitlab/ci.sh
artifacts:
expire_in: 2 week
paths:
- out

build-aarch64-linux-deb10:
extends: .build
tags:
- aarch64-linux
image: "registry.gitlab.haskell.org/ghc/ci-images/aarch64-linux-deb10:$DOCKER_REV"

build-armv7-linux-deb10:
extends: .build
tags:
- armv7-linux
image: "registry.gitlab.haskell.org/ghc/ci-images/armv7-linux-deb10:$DOCKER_REV"

build-x86_64-linux:
extends: .build
tags:
- x86_64-linux
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV"

build-x86_64-linux-alpine:
extends: .build
tags:
- x86_64-linux
image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-alpine3_12:$DOCKER_REV"

build-x86_64-freebsd:
extends: .build
tags:
- x86_64-freebsd

build-x86_64-darwin:
extends: .build
tags:
- x86_64-darwin

build-x86_64-windows:
extends: .build
tags:
- new-x86_64-windows
8 changes: 3 additions & 5 deletions cabal.project.release
Expand Up @@ -2,10 +2,8 @@ packages: Cabal/
packages: cabal-install/
tests: False
benchmarks: False
optimizations: True
optimization: True

optional-packages: ./vendored/*/*.cabal

package Cabal
ghc-options: -fexpose-all-unfoldings -fspecialise-aggressively

package parsec
ghc-options: -fexpose-all-unfoldings

0 comments on commit 94eb63d

Please sign in to comment.