-
Notifications
You must be signed in to change notification settings - Fork 101
/
.gitlab-ci.yml
51 lines (46 loc) · 1.04 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
stages:
- build
# - deploy
#pact-macos:
# stage: build
# tags:
# - macos
# script:
# - nix-build
# - nix-build project.nix -A proj.ghc.pact
# - nix-build project.nix -A proj.ghc.pact.doc
# - nix-build project.nix -A proj.ghcjs.pact
# - nix-build project.nix -A proj.ghcjs.pact.doc
# # - ./collectArtifacts.sh macos
# # artifacts:
# # paths:
# # - public-macos/
pact-linux:
stage: build
tags:
- linux
script:
- nix-build
- nix-build project.nix -A proj.ghc.pact-do-benchmark
- nix-build project.nix -A proj.ghc.pact.doc
- nix-build project.nix -A proj.ghcjs.pact
- nix-build project.nix -A proj.ghcjs.pact.doc
# - ./collectArtifacts.sh linux
# artifacts:
# paths:
# - public-linux/
# pages:
# stage: deploy
# script:
# - mkdir public
# - mv public-macos public/
# # - mv public-linux public/
# artifacts:
# paths:
# - public/
# pact-linux-static:
# stage: build
# script:
# - nix-build static.nix --argstr system x86_64-linux
# tags:
# - linux