8# Enable PR triggers that target the master branch
10 autoCancel: true # cancel previous builds on push
16 - job: ghcide_stack_86
19 vmImage: 'ubuntu-latest'
24 key: stack-cache-v1 | $(Agent.OS) | $(Build.SourcesDirectory)/stack.yaml | $(Build.SourcesDirectory)/ghcide.cabal
26 cacheHitVar: CACHE_RESTORED
27 displayName: "Cache stack artifacts"
30 tar xzf .azure-cache/stack-root.tar.gz -C $HOME
31 displayName: "Unpack cache"
32 condition: eq(variables.CACHE_RESTORED, 'true')
35 displayName: "HLint via ./fmt.sh"
37 sudo apt-get install -y g++ gcc libc6-dev libffi-dev libgmp-dev make zlib1g-dev
38 if ! which stack >/dev/null 2>&1; then
39 curl -sSL https://get.haskellstack.org/ | sh
41 displayName: 'Install Stack'
43 displayName: 'stack setup'
44 - bash: stack build --only-dependencies
45 displayName: 'stack build --only-dependencies'
46 - bash: stack test --ghc-options=-Werror || stack test --ghc-options=-Werror || stack test --ghc-options=-Werror
47 # ghcide stack tests are flaky, see https://github.com/digital-asset/daml/issues/2606.
48 displayName: 'stack test --ghc-options=-Werror'
51 tar czf .azure-cache/stack-root.tar.gz -C $HOME .stack
52 displayName: "Pack cache"
55 MESSAGE=$(git log --pretty=format:%s -n1)
58 -H 'Content-type: application/json' \
59 --data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
61 condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
62 - job: ghcide_stack_84
65 vmImage: 'ubuntu-latest'
70 key: stack-cache-v1 | $(Agent.OS) | $(Build.SourcesDirectory)/stack84.yaml | $(Build.SourcesDirectory)/ghcide.cabal
72 cacheHitVar: CACHE_RESTORED
73 displayName: "Cache stack artifacts"
76 tar xzf .azure-cache/stack-root.tar.gz -C $HOME
77 displayName: "Unpack cache"
78 condition: eq(variables.CACHE_RESTORED, 'true')
81 displayName: "HLint via ./fmt.sh"
83 sudo apt-get install -y g++ gcc libc6-dev libffi-dev libgmp-dev make zlib1g-dev
84 if ! which stack >/dev/null 2>&1; then
85 curl -sSL https://get.haskellstack.org/ | sh
87 displayName: 'Install Stack'
88 - bash: stack setup --stack-yaml=stack84.yaml
89 displayName: 'stack setup --stack-yaml=stack84.yaml'
90 - bash: stack build --only-dependencies --stack-yaml=stack84.yaml
91 displayName: 'stack build --only-dependencies --stack-yaml=stack84.yaml'
92 - bash: stack test --stack-yaml=stack84.yaml --ghc-options=-Werror || stack test --stack-yaml=stack84.yaml --ghc-options=-Werror || stack test --stack-yaml=stack84.yaml --ghc-options=-Werror
93 # ghcide stack tests are flaky, see https://github.com/digital-asset/daml/issues/2606.
94 displayName: 'stack test --stack-yaml=stack84.yaml --ghc-options=-Werror'
97 tar czf .azure-cache/stack-root.tar.gz -C $HOME .stack
98 displayName: "Pack cache"
101 MESSAGE=$(git log --pretty=format:%s -n1)
104 -H 'Content-type: application/json' \
105 --data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
107 condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
108 - job: ghcide_stack_88
111 vmImage: 'ubuntu-latest'
116 key: stack-cache-v1 | $(Agent.OS) | $(Build.SourcesDirectory)/stack88.yaml | $(Build.SourcesDirectory)/ghcide.cabal
118 cacheHitVar: CACHE_RESTORED
119 displayName: "Cache stack artifacts"
122 tar xzf .azure-cache/stack-root.tar.gz -C $HOME
123 displayName: "Unpack cache"
124 condition: eq(variables.CACHE_RESTORED, 'true')
127 displayName: "HLint via ./fmt.sh"
129 sudo apt-get install -y g++ gcc libc6-dev libffi-dev libgmp-dev make zlib1g-dev
130 if ! which stack >/dev/null 2>&1; then
131 curl -sSL https://get.haskellstack.org/ | sh
133 displayName: 'Install Stack'
134 - bash: stack setup --stack-yaml=stack88.yaml
135 displayName: 'stack setup --stack-yaml=stack88.yaml'
136 - bash: stack build --only-dependencies --stack-yaml=stack88.yaml
137 displayName: 'stack build --only-dependencies --stack-yaml=stack88.yaml'
138 - bash: stack test --stack-yaml=stack88.yaml --ghc-options=-Werror || stack test --stack-yaml=stack88.yaml --ghc-options=-Werror || stack test --stack-yaml=stack88.yaml --ghc-options=-Werror
139 # ghcide stack tests are flaky, see https://github.com/digital-asset/daml/issues/2606.
140 displayName: 'stack test --stack-yaml=stack88.yaml --ghc-options=-Werror'
142 mkdir -p .azure-cache
143 tar czf .azure-cache/stack-root.tar.gz -C $HOME .stack
144 displayName: "Pack cache"
147 MESSAGE=$(git log --pretty=format:%s -n1)
150 -H 'Content-type: application/json' \
151 --data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
153 condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
154 - job: ghcide_stack_ghc_lib_88
157 vmImage: 'ubuntu-latest'
162 key: stack-cache-v1 | $(Agent.OS) | $(Build.SourcesDirectory)/stack-ghc-lib.yaml | $(Build.SourcesDirectory)/ghcide.cabal
164 cacheHitVar: CACHE_RESTORED
165 displayName: "Cache stack artifacts"
168 tar xzf .azure-cache/stack-root.tar.gz -C $HOME
169 displayName: "Unpack cache"
170 condition: eq(variables.CACHE_RESTORED, 'true')
173 displayName: "HLint via ./fmt.sh"
175 sudo apt-get install -y g++ gcc libc6-dev libffi-dev libgmp-dev make zlib1g-dev
176 if ! which stack >/dev/null 2>&1; then
177 curl -sSL https://get.haskellstack.org/ | sh
179 displayName: 'Install Stack'
180 - bash: stack setup --stack-yaml=stack-ghc-lib.yaml
181 displayName: 'stack setup --stack-yaml=stack-ghc-lib.yaml'
182 - bash: stack build --only-dependencies --stack-yaml=stack-ghc-lib.yaml
183 displayName: 'stack build --only-dependencies --stack-yaml=stack-ghc-lib.yaml'
184 - bash: stack test --stack-yaml=stack-ghc-lib.yaml --ghc-options=-Werror || stack test --stack-yaml=stack-ghc-lib.yaml --ghc-options=-Werror || stack test --stack-yaml=stack-ghc-lib.yaml --ghc-options=-Werror
185 # ghcide stack tests are flaky, see https://github.com/digital-asset/daml/issues/2606.
186 displayName: 'stack test --stack-yaml=stack-ghc-lib.yaml --ghc-options=-Werror'
188 mkdir -p .azure-cache
189 tar czf .azure-cache/stack-root.tar.gz -C $HOME .stack
190 displayName: "Pack cache"
193 MESSAGE=$(git log --pretty=format:%s -n1)
196 -H 'Content-type: application/json' \
197 --data "{\"text\":\"<!here> *FAILED* $(Agent.JobName): <https://dev.azure.com/digitalasset/ghcide/_build/results?buildId=$(Build.BuildId)|$MESSAGE>\n\"}" \
199 condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list