Skip to content
Snippets Groups Projects
Unverified Commit bdb857a0 authored by Mikolaj Konarski's avatar Mikolaj Konarski
Browse files

Permit pre-releases in gitlab CI

parent 9177f336
No related branches found
Tags gitlab-ci-try1-3.8.0.20220526
No related merge requests found
Pipeline #52803 failed
...@@ -37,6 +37,8 @@ build-aarch64-linux-deb10: ...@@ -37,6 +37,8 @@ build-aarch64-linux-deb10:
TARBALL_ARCHIVE_SUFFIX: aarch64-linux-deb10 TARBALL_ARCHIVE_SUFFIX: aarch64-linux-deb10
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "" ADD_CABAL_ARGS: ""
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
build-armv7-linux-deb10: build-armv7-linux-deb10:
extends: .build extends: .build
...@@ -47,7 +49,7 @@ build-armv7-linux-deb10: ...@@ -47,7 +49,7 @@ build-armv7-linux-deb10:
TARBALL_ARCHIVE_SUFFIX: armv7-linux-deb1 TARBALL_ARCHIVE_SUFFIX: armv7-linux-deb1
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "" ADD_CABAL_ARGS: ""
# temp, because 3.6.2.0 is broken # this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0 CABAL_INSTALL_VERSION: 3.4.0.0
retry: 2 retry: 2
...@@ -60,6 +62,8 @@ build-x86_64-linux: ...@@ -60,6 +62,8 @@ build-x86_64-linux:
TARBALL_ARCHIVE_SUFFIX: x86_64-linux-deb10 TARBALL_ARCHIVE_SUFFIX: x86_64-linux-deb10
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "--enable-split-sections" ADD_CABAL_ARGS: "--enable-split-sections"
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
build-x86_64-linux-alpine: build-x86_64-linux-alpine:
extends: .build extends: .build
...@@ -73,6 +77,8 @@ build-x86_64-linux-alpine: ...@@ -73,6 +77,8 @@ build-x86_64-linux-alpine:
TARBALL_ARCHIVE_SUFFIX: x86_64-linux-alpine TARBALL_ARCHIVE_SUFFIX: x86_64-linux-alpine
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static" ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static"
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
build-i386-linux-alpine: build-i386-linux-alpine:
extends: .build extends: .build
...@@ -88,7 +94,7 @@ build-i386-linux-alpine: ...@@ -88,7 +94,7 @@ build-i386-linux-alpine:
TARBALL_ARCHIVE_SUFFIX: i386-linux-alpine TARBALL_ARCHIVE_SUFFIX: i386-linux-alpine
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static" ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static"
# temp, because 3.6.2.0 is broken # this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0 CABAL_INSTALL_VERSION: 3.4.0.0
build-x86_64-freebsd12: build-x86_64-freebsd12:
...@@ -99,6 +105,8 @@ build-x86_64-freebsd12: ...@@ -99,6 +105,8 @@ build-x86_64-freebsd12:
TARBALL_ARCHIVE_SUFFIX: x86_64-freebsd12 TARBALL_ARCHIVE_SUFFIX: x86_64-freebsd12
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "--enable-split-sections" ADD_CABAL_ARGS: "--enable-split-sections"
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
build-x86_64-darwin: build-x86_64-darwin:
extends: .build extends: .build
...@@ -108,6 +116,8 @@ build-x86_64-darwin: ...@@ -108,6 +116,8 @@ build-x86_64-darwin:
TARBALL_ARCHIVE_SUFFIX: x86_64-darwin TARBALL_ARCHIVE_SUFFIX: x86_64-darwin
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "" ADD_CABAL_ARGS: ""
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
build-aarch64-darwin: build-aarch64-darwin:
stage: build stage: build
...@@ -133,6 +143,8 @@ build-aarch64-darwin: ...@@ -133,6 +143,8 @@ build-aarch64-darwin:
TARBALL_ARCHIVE_SUFFIX: aarch64-darwin TARBALL_ARCHIVE_SUFFIX: aarch64-darwin
TARBALL_EXT: tar.xz TARBALL_EXT: tar.xz
ADD_CABAL_ARGS: "" ADD_CABAL_ARGS: ""
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
artifacts: artifacts:
expire_in: 2 week expire_in: 2 week
paths: paths:
...@@ -149,4 +161,6 @@ build-x86_64-windows: ...@@ -149,4 +161,6 @@ build-x86_64-windows:
TARBALL_ARCHIVE_SUFFIX: x86_64-windows TARBALL_ARCHIVE_SUFFIX: x86_64-windows
TARBALL_EXT: zip TARBALL_EXT: zip
ADD_CABAL_ARGS: "" ADD_CABAL_ARGS: ""
# this permits building pre-releases that are not on Hackage
CABAL_INSTALL_VERSION: 3.4.0.0
retry: 2 retry: 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment