|
67 | 67 | name: haskell-language-server
|
68 | 68 | # Disable pushing, we will do that in job `build`
|
69 | 69 | skipPush: true
|
70 |
| - # - run: | |
71 |
| - # nix develop --print-build-logs --command cabal update |
72 |
| - # nix develop --print-build-logs --command cabal build |
| 70 | + - run: | |
| 71 | + nix develop --print-build-logs --command cabal update |
| 72 | + nix develop --print-build-logs --command cabal build |
73 | 73 |
|
74 | 74 | # Build and then push HLS binaries with developmet shell to cachix
|
75 | 75 | # This job runs when
|
@@ -100,23 +100,23 @@ jobs:
|
100 | 100 | with:
|
101 | 101 | name: haskell-language-server
|
102 | 102 | authToken: ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}
|
103 |
| - # smunix: temporarily disabling this to allow the builds to complete and |
104 |
| - # push binaries to caches. Will re-enable later. |
105 |
| - # - name: Build development shell |
106 |
| - # run: nix develop --print-build-logs --profile dev |
107 |
| - # - name: Build all development shell (without nix dependencies) |
108 |
| - # run: nix develop --print-build-logs .#all-simple-dev-shells --profile dev |
| 103 | + - name: Build development shell |
| 104 | + run: nix develop --print-build-logs --profile dev |
| 105 | + - name: Build all development shell (without nix dependencies) |
| 106 | + run: nix develop --print-build-logs .#all-simple-dev-shells --profile dev |
109 | 107 | # We only build nix dev shell for current GHC version because some are
|
110 | 108 | # failing with different GHC version on darwin.
|
111 |
| - # - name: Build development shell with nix dependencies for current GHC version |
112 |
| - # run: nix develop --print-build-logs .#all-nix-dev-shells --profile dev |
113 |
| - # - name: Push development shell |
114 |
| - # if: ${{ env.HAS_TOKEN == 'true' }} |
115 |
| - # run: cachix push haskell-language-server dev |
116 |
| - # - name: Build binaries |
117 |
| - # run: nix build --print-build-logs |
118 |
| - - name: Build all binaries |
119 |
| - run: nix build --print-build-logs .#all-haskell-language-server |
| 109 | + - name: Build development shell with nix dependencies for current GHC version |
| 110 | + run: nix develop --print-build-logs .#all-nix-dev-shells --profile dev |
| 111 | + - name: Push development shell |
| 112 | + if: ${{ env.HAS_TOKEN == 'true' }} |
| 113 | + run: cachix push haskell-language-server dev |
| 114 | + - name: Build binaries |
| 115 | + run: nix build --print-build-logs |
| 116 | + # smunix: "Build all binaries" takes too long to run and doesn't contribute |
| 117 | + # to caching to cachix for now; so I'm disabling it for now. |
| 118 | + # - name: Build all binaries |
| 119 | + # run: nix build --print-build-logs .#all-haskell-language-server |
120 | 120 | - name: Push binaries
|
121 | 121 | if: ${{ env.HAS_TOKEN == 'true' }}
|
122 | 122 | run: nix path-info --json | jq -r '.[].path' | cachix push haskell-language-server
|
|
0 commit comments