diff --git a/build/deps.mk b/build/deps.mk index 1db628d..41e389c 100644 --- a/build/deps.mk +++ b/build/deps.mk @@ -4,12 +4,18 @@ EXECUTOR ?= $(OS) .PHONY: install-deps install-deps: # this assumes the linux executor on CircleCI runs ubuntu/debian -ifneq (,$(filter $(EXECUTOR),debian linux)) +ifneq (,$(filter $(EXECUTOR),debian)) apt-get update apt-get install --no-install-recommends -y \ build-essential ninja-build cmake \ python3 python3-dev python3-setuptools endif +ifneq (,$(filter $(EXECUTOR),linux)) + sudo apt-get update + sudo apt-get install --no-install-recommends -y \ + build-essential ninja-build cmake \ + python3 python3-dev python3-setuptools +endif ifeq ($(EXECUTOR), alpine) apk update apk add --no-cache \ @@ -18,4 +24,4 @@ ifeq ($(EXECUTOR), alpine) endif ifeq ($(EXECUTOR), macos) brew install cmake -endif \ No newline at end of file +endif