File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,31 @@ jobs:
26
26
with :
27
27
ghc-version : ${{ matrix.ghc }}
28
28
run : xvfb-run -s '-screen 0 640x480x16' -a npm test
29
+ - name : " Install ghcup on linux"
30
+ if : runner.os == 'Linux'
31
+ run : |
32
+ curl -O https://downloads.haskell.org/ghcup/0.1.17.6-alpha1/x86_64-linux-ghcup-0.1.17.5
33
+ chmod +x x86_64-linux-ghcup-0.1.17.5
34
+ cp x86_64-linux-ghcup-0.1.17.5 "$(which ghcup)"
29
35
- name : " Install `tree` for MacOs"
30
36
run : |
37
+ curl -O https://downloads.haskell.org/ghcup/0.1.17.6-alpha1/x86_64-apple-darwin-ghcup-0.1.17.5
38
+ chmod +x x86_64-apple-darwin-ghcup-0.1.17.5
39
+ cp x86_64-apple-darwin-ghcup-0.1.17.5 "$(which ghcup)"
31
40
brew update
32
41
brew install tree
33
42
if : runner.os == 'macOS'
34
43
- name : " Install `tree` for Windows"
35
44
run : |
36
45
choco install tree
37
46
if : runner.os == 'Windows'
47
+ - name : " Install ghcup"
48
+ run : |
49
+ curl -O https://downloads.haskell.org/ghcup/0.1.17.6-alpha1/x86_64-mingw64-ghcup-0.1.17.5.exe
50
+ chmod +x x86_64-mingw64-ghcup-0.1.17.5.exe
51
+ cp x86_64-mingw64-ghcup-0.1.17.5.exe /c/ghcup/bin/ghcup.exe
52
+ if : runner.os == 'Windows'
53
+ shell : bash
38
54
# Pre-fetch HLS binaries before the tests because otherwise
39
55
# we run into timeouts. Downloading takes longer, since we download
40
56
# per HLS version one HLS binary per GHC version.
You can’t perform that action at this time.
0 commit comments