File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,18 @@ EXECUTOR ?= $(OS)
4
4
.PHONY : install-deps
5
5
install-deps :
6
6
# this assumes the linux executor on CircleCI runs ubuntu/debian
7
- ifneq (,$(filter $(EXECUTOR ) ,debian linux ) )
7
+ ifneq (,$(filter $(EXECUTOR ) ,debian) )
8
8
apt-get update
9
9
apt-get install --no-install-recommends -y \
10
10
build-essential ninja-build cmake \
11
11
python3 python3-dev python3-setuptools
12
12
endif
13
+ ifneq (,$(filter $(EXECUTOR ) ,linux) )
14
+ sudo apt-get update
15
+ sudo apt-get install --no-install-recommends -y \
16
+ build-essential ninja-build cmake \
17
+ python3 python3-dev python3-setuptools
18
+ endif
13
19
ifeq ($(EXECUTOR ) , alpine)
14
20
apk update
15
21
apk add --no-cache \
@@ -18,4 +24,4 @@ ifeq ($(EXECUTOR), alpine)
18
24
endif
19
25
ifeq ($(EXECUTOR ) , macos)
20
26
brew install cmake
21
- endif
27
+ endif
You can’t perform that action at this time.
0 commit comments