Update CI

This commit is contained in:
Julian Ospald 2021-06-07 20:39:51 +02:00
parent 8a632eb3b4
commit 96bcbbeeec
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 26 additions and 36 deletions

View File

@ -199,7 +199,7 @@ test:linux:bootstrap_script:
script: script:
- ./.gitlab/script/ghcup_bootstrap.sh - ./.gitlab/script/ghcup_bootstrap.sh
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
extends: extends:
- .debian - .debian
@ -211,7 +211,7 @@ test:linux:recommended:
stage: test stage: test
extends: .test_ghcup_version:linux extends: .test_ghcup_version:linux
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
needs: [] needs: []
@ -219,7 +219,7 @@ test:linux:latest:
stage: test stage: test
extends: .test_ghcup_version:linux extends: .test_ghcup_version:linux
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "9.0.1"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
needs: [] needs: []
@ -229,7 +229,7 @@ test:linux:recommended:32bit:
stage: test stage: test
extends: .test_ghcup_version:linux32 extends: .test_ghcup_version:linux32
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.2.0.0" CABAL_VERSION: "3.2.0.0"
needs: [] needs: []
@ -239,7 +239,7 @@ test:linux:recommended:armv7:
stage: test stage: test
extends: .test_ghcup_version:armv7 extends: .test_ghcup_version:armv7
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
when: manual when: manual
needs: [] needs: []
@ -248,7 +248,7 @@ test:linux:recommended:aarch64:
stage: test stage: test
extends: .test_ghcup_version:aarch64 extends: .test_ghcup_version:aarch64
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
when: manual when: manual
needs: [] needs: []
@ -259,7 +259,7 @@ test:mac:recommended:
stage: test stage: test
extends: .test_ghcup_version:darwin extends: .test_ghcup_version:darwin
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
needs: [] needs: []
@ -267,17 +267,17 @@ test:mac:latest:
stage: test stage: test
extends: .test_ghcup_version:darwin extends: .test_ghcup_version:darwin
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "9.0.1"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
needs: [] needs: []
test:mac:recommended:aarch64: # test:mac:recommended:aarch64:
stage: test # stage: test
extends: .test_ghcup_version:darwin:aarch64 # extends: .test_ghcup_version:darwin:aarch64
variables: # variables:
GHC_VERSION: "8.10.5" # GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" # CABAL_VERSION: "3.4.0.0"
needs: [] # needs: []
######## freebsd test ######## ######## freebsd test ########
@ -286,17 +286,7 @@ test:freebsd:recommended:
stage: test stage: test
extends: .test_ghcup_version:freebsd extends: .test_ghcup_version:freebsd
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0"
allow_failure: true # freebsd runners are unreliable
when: manual
needs: []
test:freebsd:latest:
stage: test
extends: .test_ghcup_version:freebsd
variables:
GHC_VERSION: "8.10.4"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
allow_failure: true # freebsd runners are unreliable allow_failure: true # freebsd runners are unreliable
when: manual when: manual
@ -308,7 +298,7 @@ test:windows:recommended:
stage: test stage: test
extends: .test_ghcup_version:windows extends: .test_ghcup_version:windows
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
needs: [] needs: []
@ -324,7 +314,7 @@ release:linux:64bit:
- ./.gitlab/before_script/linux/alpine/install_deps.sh - ./.gitlab/before_script/linux/alpine/install_deps.sh
variables: variables:
ARTIFACT: "x86_64-linux-ghcup" ARTIFACT: "x86_64-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
@ -338,7 +328,7 @@ release:linux:32bit:
- ./.gitlab/before_script/linux/alpine/install_deps.sh - ./.gitlab/before_script/linux/alpine/install_deps.sh
variables: variables:
ARTIFACT: "i386-linux-ghcup" ARTIFACT: "i386-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.2.0.0" CABAL_VERSION: "3.2.0.0"
release:linux:armv7: release:linux:armv7:
@ -351,7 +341,7 @@ release:linux:armv7:
- ./.gitlab/before_script/linux/install_deps_manual.sh - ./.gitlab/before_script/linux/install_deps_manual.sh
variables: variables:
ARTIFACT: "armv7-linux-ghcup" ARTIFACT: "armv7-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
release:linux:aarch64: release:linux:aarch64:
@ -364,7 +354,7 @@ release:linux:aarch64:
- ./.gitlab/before_script/linux/install_deps_manual.sh - ./.gitlab/before_script/linux/install_deps_manual.sh
variables: variables:
ARTIFACT: "aarch64-linux-ghcup" ARTIFACT: "aarch64-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
######## darwin release ######## ######## darwin release ########
@ -380,7 +370,7 @@ release:darwin:
- ./.gitlab/before_script/darwin/install_deps.sh - ./.gitlab/before_script/darwin/install_deps.sh
variables: variables:
ARTIFACT: "x86_64-apple-darwin-ghcup" ARTIFACT: "x86_64-apple-darwin-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
MACOSX_DEPLOYMENT_TARGET: "10.7" MACOSX_DEPLOYMENT_TARGET: "10.7"
@ -389,7 +379,7 @@ release:darwin:
release:freebsd: release:freebsd:
stage: release stage: release
needs: ["test:freebsd:recommended", "test:freebsd:latest"] needs: ["test:freebsd:recommended"]
extends: extends:
- .freebsd - .freebsd
- .release_ghcup - .release_ghcup
@ -398,7 +388,7 @@ release:freebsd:
- ./.gitlab/before_script/freebsd/install_deps.sh - ./.gitlab/before_script/freebsd/install_deps.sh
variables: variables:
ARTIFACT: "x86_64-portbld-freebsd-ghcup" ARTIFACT: "x86_64-portbld-freebsd-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
######## windows release ######## ######## windows release ########
@ -414,7 +404,7 @@ release:windows:
- bash ./.gitlab/before_script/windows/install_deps.sh - bash ./.gitlab/before_script/windows/install_deps.sh
variables: variables:
ARTIFACT: "x86_64-mingw64-ghcup" ARTIFACT: "x86_64-mingw64-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
######## hlint ######## ######## hlint ########
@ -428,7 +418,7 @@ hlint:
script: script:
- ./.gitlab/script/hlint.sh - ./.gitlab/script/hlint.sh
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.5"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.4.0.0"
JSON_VERSION: "0.0.4" JSON_VERSION: "0.0.4"
allow_failure: true allow_failure: true