Skip to content

Commit 43623b6

Browse files
committed
Add cmake to tool-brew chunk
Fixes #1020
1 parent 1f76119 commit 43623b6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

chunks/tool-brew/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ ENV MANPATH="$MANPATH:/home/linuxbrew/.linuxbrew/share/man"
1212
ENV INFOPATH="$INFOPATH:/home/linuxbrew/.linuxbrew/share/info"
1313
ENV HOMEBREW_NO_AUTO_UPDATE=1
1414

15-
RUN sudo apt remove -y cmake \
16-
&& brew install cmake
15+
RUN brew install cmake

tests/tool-brew.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
command: [brew, doctor]
88
assert:
99
- stderr.indexOf("error") == -1
10+
- status == 0
1011
- desc: it should have valid configuration
1112
command: [brew, config]
1213
assert:
1314
- status == 0
15+
- desc: it should have cmake
16+
command: [cmake, --version]
17+
assert:
18+
- stderr.indexOf("cmake version") == -1
19+
- status == 0

0 commit comments

Comments
 (0)