File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 34
34
os : [ubuntu-latest]
35
35
cabal : ['3.6']
36
36
37
+ # This code is fitted to the strategy: assumes Linux is used ... etc,
38
+ # change of the strategy may require changing the bootstrapping/run code
39
+
37
40
steps :
38
41
- uses : actions/checkout@v2
39
42
45
48
cabal-version : ${{ matrix.cabal }}
46
49
enable-stack : false
47
50
48
- - if : runner.os == 'Windows'
49
- name : (Windows) Platform config
50
- run : |
51
- echo "CABAL_STORE_DIR=$SYSTEMDRIVE\\SR" >> $GITHUB_ENV
52
- echo "CABAL_PKGS_DIR=~\\AppData\\cabal\\packages" >> $GITHUB_ENV
53
- - if : ( runner.os == 'Linux' ) || ( runner.os == 'macOS' )
54
- name : (Linux,macOS) Platform config
51
+ - name : Platform config
55
52
run : |
56
53
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
57
54
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
61
58
name : (GHC 9.0.1) Use modified `cabal.project`
62
59
run : |
63
60
cp cabal-ghc901.project cabal.project
64
- - if : runner.os == 'Windows' && matrix.ghc == '8.8.4'
65
- name : (Windows,GHC 8.8) Modify `cabal.project` to workaround segfaults
66
- run : |
67
- echo "package floskell" >> cabal.project
68
- echo " ghc-options: -O0" >> cabal.project
69
61
70
62
# Shorten binary names as a workaround for filepath length limits in Windows,
71
63
# but since tests are hardcoded on this workaround -
You can’t perform that action at this time.
0 commit comments