File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,23 @@ jobs:
140
140
cp cabal.ghcjs.project cabal.project
141
141
cat cabal.project
142
142
143
- export PATH=/opt/ghc /8.4.4/bin:$PATH
143
+ export PATH=/opt/ghcjs /8.4.4/bin:$PATH
144
144
export PATH="$HOME/.cabal/bin:$PATH"
145
145
cabal v2-update
146
- cabal v2-install -w ghc-8.4.4 --ignore-project hspec-discover
146
+ ls /opt
147
+ ls /opt/ghcjs/8.4/bin
148
+ cabal v2-install --ghcjs -w /opt/ghcjs/8.4/bin/ghcjs --ignore-project hspec-discover
149
+ cabal v2-install -w /opt/ghc/8.4.4/bin/ghc --ignore-project hspec-discover
147
150
148
151
- name : Build
149
152
run : |
150
- cabal v2-build -w ghc-8.4.4 --enable-tests --enable-benchmarks all
153
+ export PATH=/opt/ghcjs/8.4.4/bin:$PATH
154
+ export PATH="$HOME/.cabal/bin:$PATH"
155
+ cabal v2-build --ghcjs -w /opt/ghcjs/8.4/bin/ghcjs --enable-tests --enable-benchmarks all
151
156
152
157
- name : Run tests
153
158
run : |
154
- cabal v2-test -w ghc-8.4.4 --enable-tests --enable-benchmarks all
159
+ export PATH=/opt/ghcjs/8.4.4/bin:$PATH
160
+ export PATH="$HOME/.cabal/bin:$PATH"
161
+ ls $HOME/.cabal/bin
162
+ cabal v2-test --ghcjs -w /opt/ghcjs/8.4/bin/ghcjs --enable-tests --enable-benchmarks all
You can’t perform that action at this time.
0 commit comments