File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -90,28 +90,39 @@ jobs:
9090 - name : Make sdist
9191 run : |
9292 mkdir sdist
93- cabal sdist vector -o sdist
93+ cabal sdist vector -o sdist
94+ cabal sdist vector-stream -o sdist
95+ cabal sdist vector-bench-papi -o sdist
9496 - name : Unpack
9597 run : |
9698 mkdir unpacked
97- tar -C unpacked -xzf sdist/vector*tar.gz
98- cd unpacked
99+ for NM in sdist/vector*tar.gz; do
100+ tar -C unpacked -xzf $NM
101+ done
102+ echo "packages:" >> unpacked/cabal.project
103+ echo " vector-*/*.cabal" >> unpacked/cabal.project
99104 # ----------------
100105 - name : cabal check
101106 run : |
102- (cd vector-stream && cabal -vnormal check)
103- (cd vector && cabal -vnormal check)
104- # ----------------
107+ for nm in vector-*; do
108+ echo Checking $nm
109+ (cd "$nm" && cabal -vnormal check)
110+ done
111+ working-directory : unpacked/
112+ # ----------------
105113 - name : Build
106114 run : |
107115 echo FLAG_PAPI=$FLAG_PAPI
108116 cabal configure ${{ matrix.flags }} $FLAG_PAPI --haddock-all --enable-tests --enable-benchmarks --benchmark-option=-l
109117 cabal build all --write-ghc-environment-files=always
118+ working-directory : unpacked/
110119 # ----------------
111120 - name : Test
112121 run : |
113122 cabal test all
123+ working-directory : unpacked/
114124 # ----------------
115125 - name : Bench
116126 run : |
117127 cabal bench all
128+ working-directory : unpacked/
You can’t perform that action at this time.
0 commit comments