Merge pull request #20 from kvedala/gitpod

update Gitpod - use docker image
This commit is contained in:
Krishna Vedala
2020-06-09 19:50:16 -04:00
committed by GitHub
2 changed files with 26 additions and 6 deletions

9
.gitpod.dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM gitpod/workspace-full
RUN sudo apt-get update \
&& sudo apt-get install -y \
doxygen \
graphviz \
ninja-build \
&& pip install cpplint \
&& sudo rm -rf /var/lib/apt/lists/*

View File

@@ -1,6 +1,17 @@
tasks:
- init: >
pip install cpplint
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON &&
cmake --build build -t all
image:
file: .gitpod.dockerfile
github:
prebuilds:
addBadge: true
addComment: false
addCheck: false
master: true
pullRequestsFromForks: true
vscode:
extensions:
- ms-vscode.cpptools@0.28.3:mjRj37VUK0nY2ZeDXzxOJA==
- twxs.cmake@0.0.17:9s7m9CWOr6i6NZ7CNNF4kw==
- ms-vscode.cmake-tools@1.4.0:eP3hU/MFme+CcSL21Klk1w==
- mhutchie.git-graph@1.23.0:TM9ShNmBn94aUJMJusCJlg==