Bump GHC/cabal in CI

This commit is contained in:
Julian Ospald 2021-10-09 22:46:55 +02:00
parent a68355cb7d
commit c381f47a72
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -1,6 +1,8 @@
stages: stages:
- checks - checks
- quick-test
- test - test
- expensive-test
- release - release
variables: variables:
@ -242,21 +244,21 @@ test:linux:stack:
######## bootstrap test ######## ######## bootstrap test ########
test:linux:bootstrap_script: test:linux:bootstrap_script:
stage: test stage: quick-test
before_script: before_script:
- ./.gitlab/before_script/linux/install_deps_minimal.sh - ./.gitlab/before_script/linux/install_deps_minimal.sh
script: script:
- ./.gitlab/script/ghcup_bootstrap.sh - ./.gitlab/script/ghcup_bootstrap.sh
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
extends: extends:
- .debian - .debian
- .root_cleanup - .root_cleanup
needs: [] needs: []
test:windows:bootstrap_powershell_script: test:windows:bootstrap_powershell_script:
stage: test stage: quick-test
script: script:
- ./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir $CI_PROJECT_DIR -BootstrapUrl $CI_PROJECT_DIR/bootstrap-haskell -InBash - ./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir $CI_PROJECT_DIR -BootstrapUrl $CI_PROJECT_DIR/bootstrap-haskell -InBash
after_script: after_script:
@ -265,8 +267,8 @@ test:windows:bootstrap_powershell_script:
- "[Environment]::SetEnvironmentVariable('CABAL_DIR', $null, [System.EnvironmentVariableTarget]::User)" - "[Environment]::SetEnvironmentVariable('CABAL_DIR', $null, [System.EnvironmentVariableTarget]::User)"
- bash ./.gitlab/after_script.sh - bash ./.gitlab/after_script.sh
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
extends: extends:
- .windows - .windows
needs: [] needs: []
@ -277,19 +279,19 @@ test:linux:
stage: test stage: test
extends: .test_ghcup_version:linux extends: .test_ghcup_version:linux
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
test:linux:hls: test:linux:hls:
stage: test stage: expensive-test
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
HLS_TARGET_VERSION: "1.4.0" HLS_TARGET_VERSION: "1.4.0"
CABAL_VERSION: "3.6.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
when: manual when: manual
allow_failure: true allow_failure: true
@ -299,14 +301,14 @@ test:linux:hls:
- ./.gitlab/script/ghcup_hls.sh - ./.gitlab/script/ghcup_hls.sh
test:linux:cross-armv7: test:linux:cross-armv7:
stage: test stage: expensive-test
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
variables: variables:
GHC_VERSION: "8.10.5" GHC_VERSION: "8.10.6"
GHC_TARGET_VERSION: "8.10.6" GHC_TARGET_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "arm-linux-gnueabihf" CROSS: "arm-linux-gnueabihf"
needs: [] needs: []
when: manual when: manual
@ -317,15 +319,15 @@ test:linux:cross-armv7:
- ./.gitlab/script/ghcup_cross.sh - ./.gitlab/script/ghcup_cross.sh
test:linux:git:hadrian: test:linux:git:hadrian:
stage: test stage: expensive-test
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
GHC_GIT_TAG: "ghc-9.0.1-release" GHC_GIT_TAG: "ghc-9.0.1-release"
GHC_GIT_VERSION: "9.0.1" GHC_GIT_VERSION: "9.0.1"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "" CROSS: ""
needs: [] needs: []
when: manual when: manual
@ -342,8 +344,8 @@ test:linux:32bit:
stage: test stage: test
extends: .test_ghcup_version:linux32 extends: .test_ghcup_version:linux32
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.2.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
######## arm tests ######## ######## arm tests ########
@ -352,8 +354,8 @@ test:linux: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.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "" CROSS: ""
when: manual when: manual
needs: [] needs: []
@ -362,8 +364,8 @@ test:linux: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.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "" CROSS: ""
when: manual when: manual
needs: [] needs: []
@ -374,16 +376,16 @@ test:mac:
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.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
test:mac:aarch64: test:mac:aarch64:
stage: test stage: test
extends: .test_ghcup_version:darwin:aarch64 extends: .test_ghcup_version:darwin:aarch64
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
allow_failure: true allow_failure: true
@ -394,8 +396,8 @@ test:freebsd12:
stage: test stage: test
extends: .test_ghcup_version:freebsd12 extends: .test_ghcup_version:freebsd12
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
allow_failure: true # freebsd runners are unreliable allow_failure: true # freebsd runners are unreliable
when: manual when: manual
needs: [] needs: []
@ -404,8 +406,8 @@ test:freebsd13:
stage: test stage: test
extends: .test_ghcup_version:freebsd13 extends: .test_ghcup_version:freebsd13
variables: variables:
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
allow_failure: true # freebsd runners are unreliable allow_failure: true # freebsd runners are unreliable
when: manual when: manual
needs: [] needs: []
@ -416,8 +418,8 @@ test:windows:
stage: test stage: test
extends: .test_ghcup_version:windows extends: .test_ghcup_version:windows
variables: variables:
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
needs: [] needs: []
# test:windows:scoop: # test:windows:scoop:
@ -437,8 +439,8 @@ 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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
release:linux:32bit: release:linux:32bit:
@ -451,8 +453,8 @@ 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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.2.0.0" CABAL_VERSION: "3.6.2.0"
release:linux:armv7: release:linux:armv7:
stage: release stage: release
@ -464,8 +466,8 @@ release:linux:armv7:
- ./.gitlab/before_script/linux/install_deps.sh - ./.gitlab/before_script/linux/install_deps.sh
variables: variables:
ARTIFACT: "armv7-linux-ghcup" ARTIFACT: "armv7-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "" CROSS: ""
release:linux:aarch64: release:linux:aarch64:
@ -478,8 +480,8 @@ release:linux:aarch64:
- ./.gitlab/before_script/linux/install_deps.sh - ./.gitlab/before_script/linux/install_deps.sh
variables: variables:
ARTIFACT: "aarch64-linux-ghcup" ARTIFACT: "aarch64-linux-ghcup"
GHC_VERSION: "8.10.4" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
CROSS: "" CROSS: ""
######## darwin release ######## ######## darwin release ########
@ -495,8 +497,8 @@ 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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
MACOSX_DEPLOYMENT_TARGET: "10.7" MACOSX_DEPLOYMENT_TARGET: "10.7"
release:darwin:aarch64: release:darwin:aarch64:
@ -528,8 +530,8 @@ release:darwin:aarch64:
runInNixShell ./.gitlab/script/ghcup_release.sh 2>&1 runInNixShell ./.gitlab/script/ghcup_release.sh 2>&1
variables: variables:
ARTIFACT: "aarch64-apple-darwin-ghcup" ARTIFACT: "aarch64-apple-darwin-ghcup"
GHC_VERSION: "8.10.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
MACOSX_DEPLOYMENT_TARGET: "10.7" MACOSX_DEPLOYMENT_TARGET: "10.7"
allow_failure: true allow_failure: true
@ -547,8 +549,8 @@ release:freebsd12:
- ./.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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
allow_failure: true allow_failure: true
release:freebsd13: release:freebsd13:
@ -562,8 +564,8 @@ release:freebsd13:
- ./.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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
allow_failure: true allow_failure: true
######## windows release ######## ######## windows release ########
@ -579,8 +581,8 @@ 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.6" GHC_VERSION: "8.10.7"
CABAL_VERSION: "3.4.0.0" CABAL_VERSION: "3.6.2.0"
######## hlint ######## ######## hlint ########