Skip to content
Snippets Groups Projects
Verified Commit 0c19134d authored by Bryan R's avatar Bryan R
Browse files

CI: Allow test jobs to fail

parent f983657a
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ variables: ...@@ -70,7 +70,7 @@ variables:
# A build triggered from a ghc/ghc> pipeline. # A build triggered from a ghc/ghc> pipeline.
build-pipeline: .build-pipeline:
extends: .build extends: .build
before_script: before_script:
- GHC_TARBALL=$(nix run -f ./ci -c discover_tarball.sh) - GHC_TARBALL=$(nix run -f ./ci -c discover_tarball.sh)
...@@ -79,8 +79,19 @@ build-pipeline: ...@@ -79,8 +79,19 @@ build-pipeline:
when: always when: always
- when: never - when: never
build-pipeline:
extends: .build-pipeline
variables:
BUILD_MODE: FULL
test-pipeline:
extends: .build-pipeline
variables:
BUILD_MODE: TEST
allow_failure: true
# Build against the master branch # Build against the master branch
build-master: .build-master:
extends: .build extends: .build
variables: variables:
GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/master/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release" GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/master/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release"
...@@ -90,8 +101,19 @@ build-master: ...@@ -90,8 +101,19 @@ build-master:
when: never when: never
- when: always - when: always
build-master:
extends: .build-master
variables:
BUILD_MODE: FULL
test-master:
extends: .build-master
variables:
BUILD_MODE: TEST
allow_failure: true
# Build against the 9.2 branch # Build against the 9.2 branch
build-9.2: .build-9.2:
extends: .build extends: .build
variables: variables:
GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.2/raw/ghc-x86_64-fedora27-linux.tar.xz?job=validate-x86_64-linux-fedora27" GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.2/raw/ghc-x86_64-fedora27-linux.tar.xz?job=validate-x86_64-linux-fedora27"
...@@ -101,8 +123,19 @@ build-9.2: ...@@ -101,8 +123,19 @@ build-9.2:
when: never when: never
- when: always - when: always
build-9.2:
extends: .build-9.2
variables:
BUILD_MODE: FULL
test-9.2:
extends: .build-9.2
variables:
BUILD_MODE: TEST
allow_failure: true
# Build against the 9.4 branch # Build against the 9.4 branch
build-9.4: .build-9.4:
extends: .build extends: .build
variables: variables:
GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.4/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release" GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.4/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release"
...@@ -112,14 +145,21 @@ build-9.4: ...@@ -112,14 +145,21 @@ build-9.4:
when: never when: never
- when: always - when: always
build-9.4:
extends: .build-9.4
variables:
BUILD_MODE: FULL
test-9.4:
extends: .build-9.4
variables:
BUILD_MODE: TEST
allow_failure: true
.build: .build:
stage: test stage: test
interruptible: true interruptible: true
parallel:
matrix:
- BUILD_MODE: [FULL, TEST]
tags: tags:
- x86_64-linux - x86_64-linux
......
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