File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -153,8 +153,13 @@ jobs:
153153 - name : Build Macaulay2 using Ninja
154154 if : matrix.build-system == 'cmake'
155155 run : |
156- cmake --build . --target M2-core M2-emacs install-packages
157- if [[ "${{ runner.os }}" == "Linux" ]] && [[ "${{ matrix.build-system }}" == "cmake" ]]; then
156+ cmake --build . --target M2-core M2-emacs
157+
158+ - name : Install packages using Ninja
159+ if : matrix.build-system == 'cmake'
160+ run : |
161+ cmake --build . --target install-packages
162+ if [[ "${{ runner.os }}" == "Linux" ]]; then
158163 sudo apt-get install -y -q --no-install-recommends dpkg-dev
159164 echo "GIT_COMMIT=`git describe --dirty --always --match HEAD`" >> $GITHUB_ENV
160165 cpack -G DEB
@@ -173,6 +178,11 @@ jobs:
173178 ../../configure --with-system-gc --with-fplll
174179
175180 - name : Build Macaulay2 using Make
181+ if : matrix.build-system == 'autotools'
182+ run : |
183+ make -j$(nproc 2>/dev/null || sysctl -n hw.logicalcpu) PACKAGES=
184+
185+ - name : Install packages using Make
176186 if : matrix.build-system == 'autotools'
177187 run : |
178188 make -j$(nproc 2>/dev/null || sysctl -n hw.logicalcpu)
You can’t perform that action at this time.
0 commit comments