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