Skip to content

Commit 98c1c2c

Browse files
committed
fix parallel release target
1 parent 4ba4366 commit 98c1c2c

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/_artifact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
mingw64/mingw-w64-x86_64-SDL2_net
5757
- name: Compile
5858
run: |
59-
make -f Makefiles/${{ matrix.makefile }} release NET_BOARD=1 BIN_DIR=bin OUTFILE=supermodel${{ matrix.outfile_ext }} OPT="${OPT_INPUT:-"-O3 -g"}" LDOPT=""
59+
make -f Makefiles/${{ matrix.makefile }} -j release NET_BOARD=1 BIN_DIR=bin OUTFILE=supermodel${{ matrix.outfile_ext }} OPT="${OPT_INPUT:-"-O3 -g"}" LDOPT=""
6060
echo "pkg_path=$(make -f Makefiles/${{ matrix.makefile }} -j pkg/path)" >> $GITHUB_ENV
6161
- name: Validate
6262
run: ./bin/supermodel${{ matrix.outfile_ext }} -print-games

Makefiles/Makefile.Win32

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ PLATFORM_SRC_FILES = \
118118
Src/OSD/Windows/WinOutputs.cpp \
119119
Src/OSD/Windows/SupermodelResources.rc
120120

121-
.PHONY: clean
122-
123121
include Makefiles/Rules.inc
124122

125123
clean:

Makefiles/Rules.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ all: $(BIN_DIR)/$(OUTFILE)
223223
# version number. Double-colon rules should force ordered execution.
224224
# The automated build script relies on these -- don't modify their output!
225225
#
226+
.PHONY: clean
226227
.PHONY: set_version
227228
.PHONY: print_message
228229
.PHONY: version
229-
release:: set_version
230-
release:: print_message
231230
release:: clean
231+
release:: print_message
232232
release:: all
233233

234234
PKG_FILES += $(BIN_DIR)/$(OUTFILE) Docs/README.txt Docs/LICENSE.txt Config Assets
@@ -261,7 +261,7 @@ pkg/path: set_version
261261
set_version:
262262
$(eval VERSION = $(strip $(subst ',,0.3a-git-$(shell git rev-parse --short HEAD --sq))))
263263
$(eval SUPERMODEL_BUILD_FLAGS += -DSUPERMODEL_VERSION=\"$(VERSION)\")
264-
print_message:
264+
print_message: set_version
265265
$(info Building Supermodel Version $(VERSION))
266266
version: set_version
267267
@echo $(VERSION)

0 commit comments

Comments
 (0)