Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
horizon-platform
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
package-sets
horizon-platform
Commits
f2802d9d
Commit
f2802d9d
authored
9 months ago
by
Daniel Firth
Browse files
Options
Downloads
Patches
Plain Diff
.gitlab-ci.yml: switch to matrix based config
parent
39083072
1 merge request
!186
.gitlab-ci.yml: switch to matrix based config
Pipeline
#6630
passed with stage
in 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+31
-102
31 additions, 102 deletions
.gitlab-ci.yml
README.md
+4
-0
4 additions, 0 deletions
README.md
with
35 additions
and
102 deletions
.gitlab-ci.yml
+
31
−
102
View file @
f2802d9d
stages
:
-
build
-
devour
-
generate
-
packages
-
cache
x86_64-linux:devour
:
stage
:
devour
script
:
-
nix build github:srid/devour-flake#packages.x86_64-linux.default -L --no-link --print-out-paths --override-input flake . --keep-going
aarch64-darwin:devour
:
stage
:
devour
script
:
-
nix build github:srid/devour-flake#packages.aarch64-darwin.default -L --no-link --print-out-paths --override-input flake . --keep-going
aarch64-linux:devour
:
stage
:
devour
script
:
-
nix build github:srid/devour-flake#packages.aarch64-linux.default -L --no-link --print-out-paths --override-input flake . --keep-going
x86_64-linux:generate
:
stage
:
generate
needs
:
[
"
x86_64-linux:devour"
]
script
:
-
nix run "git+https://gitlab.horizon-haskell.net/haskell/flake-to-gitlab-ci?ref=refs/tags/0.2.5.0" > flake-ci.yml
when
:
on_failure
artifacts
:
paths
:
-
flake-ci.yml
x86_64-linux:packages
:
stage
:
packages
needs
:
[
"
x86_64-linux:devour"
,
"
x86_64-linux:generate"
]
when
:
on_failure
trigger
:
include
:
-
artifact
:
flake-ci.yml
job
:
x86_64-linux:generate
strategy
:
depend
aarch64-darwin:generate
:
stage
:
generate
needs
:
[
"
aarch64-darwin:devour"
]
script
:
-
nix run "git+https://gitlab.horizon-haskell.net/haskell/flake-to-gitlab-ci?ref=refs/tags/0.2.5.0" -- aarch64-darwin > flake-ci.yml
when
:
on_failure
artifacts
:
paths
:
-
flake-ci.yml
aarch64-darwin:packages
:
stage
:
packages
needs
:
[
"
aarch64-darwin:devour"
,
"
aarch64-darwin:generate"
]
when
:
on_failure
trigger
:
include
:
-
artifact
:
flake-ci.yml
job
:
aarch64-darwin:generate
strategy
:
depend
aarch64-linux:generate
:
stage
:
generate
needs
:
[
"
aarch64-linux:devour"
]
script
:
-
nix run "git+https://gitlab.horizon-haskell.net/haskell/flake-to-gitlab-ci?ref=refs/tags/0.2.5.0" -- aarch64-linux > flake-ci.yml
when
:
on_failure
artifacts
:
paths
:
-
flake-ci.yml
aarch64-linux:packages
:
stage
:
packages
needs
:
[
"
aarch64-linux:devour"
,
"
aarch64-linux:generate"
]
when
:
on_failure
trigger
:
include
:
-
artifact
:
flake-ci.yml
job
:
aarch64-linux:generate
strategy
:
depend
x86_64-linux:cachix
:
stage
:
cache
rules
:
-
if
:
$CI_COMMIT_REF_PROTECTED == "true"
script
:
-
nix-shell -p cachix --command "nix build github:srid/devour-flake -L --no-link --print-out-paths --override-input flake . | xargs cat | cachix push horizon"
aarch64-darwin:cachix
:
stage
:
cache
rules
:
-
if
:
$CI_COMMIT_REF_PROTECTED == "true"
script
:
-
nix-shell -p cachix --command "nix build github:srid/devour-flake#packages.aarch64-darwin.default -L --no-link --print-out-paths --override-input flake . | xargs cat | cachix push horizon"
aarch64-linux:cachix
:
stage
:
cache
rules
:
-
if
:
$CI_COMMIT_REF_PROTECTED == "true"
script
:
-
nix-shell -p cachix --command "nix build github:srid/devour-flake#packages.aarch64-linux.default -L --no-link --print-out-paths --override-input flake . | xargs cat | cachix push horizon"
build
:
stage
:
build
script
:
-
nix build .#packages.$SYSTEM.$PACKAGE -L
parallel
:
matrix
:
-
SYSTEM
:
-
aarch64-darwin
-
x86_64-linux
PACKAGE
:
-
aeson
-
beam-postgres
-
composite-base
-
dhall
-
hedgehog
-
log-effectful
-
pandoc
-
persistent-postgresql
-
polysemy
-
servant
-
souffle-haskell
-
sydtest
-
tasty
-
wai-app-static
-
warp
-
SYSTEM
:
-
x86_64-linux
PACKAGE
:
-
llvm-hs
-
streamly
This diff is collapsed.
Click to expand it.
README.md
+
4
−
0
View file @
f2802d9d
...
...
@@ -17,10 +17,14 @@ This package set has the following policy.
*
composite-base
*
dhall
*
hedgehog
*
log-effectful
*
llvm-hs
*
pandoc
*
persistent-postgresql
*
polysemy
*
servant
*
souffle-haskell
*
streamly
*
sydtest
*
tasty
*
wai-app-static
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment