|
13 | 13 | jobs:
|
14 | 14 | build-linux:
|
15 | 15 | name: Build linux binaries
|
| 16 | + ## We need the environment here, to have access to the `vars` context. |
| 17 | + ## Allows us to specify: `CABAL_CACHE_DISABLE=yes`. |
| 18 | + ## The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments |
| 19 | + ## assuming you have the proper permissions. |
| 20 | + environment: CI |
16 | 21 | runs-on: ubuntu-latest
|
17 | 22 | env:
|
18 | 23 | AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
@@ -206,6 +211,11 @@ jobs:
|
206 | 211 |
|
207 | 212 | build-arm:
|
208 | 213 | name: Build ARM binary
|
| 214 | + ## We need the environment here, to have access to the `vars` context. |
| 215 | + ## Allows us to specify: `CABAL_CACHE_DISABLE=yes`. |
| 216 | + ## The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments |
| 217 | + ## assuming you have the proper permissions. |
| 218 | + environment: CI |
209 | 219 | runs-on: [self-hosted, Linux, ARM64]
|
210 | 220 | env:
|
211 | 221 | AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
@@ -262,6 +272,11 @@ jobs:
|
262 | 272 |
|
263 | 273 | build-mac-x86_64:
|
264 | 274 | name: Build binary (Mac x86_64)
|
| 275 | + ## We need the environment here, to have access to the `vars` context. |
| 276 | + ## Allows us to specify: `CABAL_CACHE_DISABLE=yes`. |
| 277 | + ## The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments |
| 278 | + ## assuming you have the proper permissions. |
| 279 | + environment: CI |
265 | 280 | runs-on: macOS-11
|
266 | 281 | env:
|
267 | 282 | MACOSX_DEPLOYMENT_TARGET: 10.13
|
@@ -301,6 +316,11 @@ jobs:
|
301 | 316 |
|
302 | 317 | build-mac-aarch64:
|
303 | 318 | name: Build binary (Mac aarch64)
|
| 319 | + ## We need the environment here, to have access to the `vars` context. |
| 320 | + ## Allows us to specify: `CABAL_CACHE_DISABLE=yes`. |
| 321 | + ## The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments |
| 322 | + ## assuming you have the proper permissions. |
| 323 | + environment: CI |
304 | 324 | runs-on: [self-hosted, macOS, ARM64]
|
305 | 325 | env:
|
306 | 326 | MACOSX_DEPLOYMENT_TARGET: 10.13
|
@@ -352,6 +372,11 @@ jobs:
|
352 | 372 |
|
353 | 373 | build-win:
|
354 | 374 | name: Build binary (Win)
|
| 375 | + ## We need the environment here, to have access to the `vars` context. |
| 376 | + ## Allows us to specify: `CABAL_CACHE_DISABLE=yes`. |
| 377 | + ## The environments can be seen in https://github.com/haskell/haskell-language-server/settings/environments |
| 378 | + ## assuming you have the proper permissions. |
| 379 | + environment: CI |
355 | 380 | runs-on: windows-latest
|
356 | 381 | env:
|
357 | 382 | AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
0 commit comments