Skip to content

Commit

Permalink
Quick and dirty support for git lfs in all CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zah committed Aug 23, 2023
1 parent dc4e564 commit d2dfaa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ GIT_SUBMODULE_UPDATE := git submodule update --init --recursive
.DEFAULT:
+@ echo -e "Git submodules not found. Running '$(GIT_SUBMODULE_UPDATE)'.\n"; \
$(GIT_SUBMODULE_UPDATE) && \
git submodule foreach --quiet 'git reset --quiet --hard' && \
git submodule foreach --quiet 'git reset --quiet --hard && git lfs install && git lfs fetch && git lfs checkout' && \
echo
# Now that the included *.mk files appeared, and are newer than this file, Make will restart itself:
# https://www.gnu.org/software/make/manual/make.html#Remaking-Makefiles
Expand Down
5 changes: 5 additions & 0 deletions docker/dist/entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ rm -f nimbus-build-system.paths
make clean
make update -j$(nproc)

pushd vendor/holesky
git lfs fetch
git lfs checkout
popd

NIMFLAGS_COMMON="-d:disableMarchNative --gcc.options.debug:'-g1' --clang.options.debug:'-gline-tables-only'"
if [[ "${PLATFORM}" == "Windows_amd64" ]]; then
# Cross-compilation using the MXE distribution of Mingw-w64
Expand Down

0 comments on commit d2dfaa3

Please sign in to comment.