This commit is contained in:
Jaremy Creechley 2023-07-11 17:08:27 -07:00
parent 992cf83e3d
commit 6fadf32ee8
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@ on:
push:
paths:
- atlas.lock
- .github/workflows/ci-nimbus.yml
jobs:
build:

View File

@ -30,7 +30,7 @@ LINK_PCRE := 0
ifeq ($(NIM_PARAMS),)
# "variables.mk" was not included, so we update the submodules.
GIT_SUBMODULE_UPDATE := nimble install https://github.com/elcritch/atlas && atlas rep atlas.lock
GIT_SUBMODULE_UPDATE := nimble install https://github.com/elcritch/atlas && atlas rep --noexec atlas.lock
.DEFAULT:
+@ echo -e "Git submodules not found. Running '$(GIT_SUBMODULE_UPDATE)'.\n"; \
$(GIT_SUBMODULE_UPDATE); \
@ -45,6 +45,11 @@ else # "variables.mk" was included. Business as usual until the end of this file
# default target, because it's the first one that doesn't start with '.'
# Builds the codex binary
all: | build deps
echo -e $(BUILD_MSG) "$@" && \
$(ENV_SCRIPT) nim test $(NIM_PARAMS)
# must be included after the default target
-include $(BUILD_SYSTEM_DIR)/makefiles/targets.mk