Skip to content

Commit

Permalink
fix: use non-interactive debian frontend in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Nov 18, 2024
1 parent 2d9d8db commit 65ae46a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ifeq ($(shell which apt-get),)
$(warning Cannot install build dependencies without apt.)
$(warning Cannot install build dependencies on non-linux platforms.)
else ifeq ($(wildcard /usr/include/libxml2/libxml/xpath.h),)
sudo apt-get install libxml2-dev libxslt1-dev
sudo $(APT) install libxml2-dev libxslt1-dev
else ifeq ($(wildcard /usr/include/libxslt/xslt.h),)
sudo apt-get install libxslt1-dev
sudo $(APT) install libxslt1-dev
endif
5 changes: 5 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ DOCS=docs
ifneq ($(OS),Windows_NT)
OS := $(shell uname)
endif
ifdef CI
APT := apt-get --yes
else
APT := apt-get
endif

.DEFAULT_GOAL := help

Expand Down

0 comments on commit 65ae46a

Please sign in to comment.