mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-11-19 10:12:38 +08:00
Merge pull request #20 from kvedala/gitpod
update Gitpod - use docker image
This commit is contained in:
9
.gitpod.dockerfile
Normal file
9
.gitpod.dockerfile
Normal 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/*
|
||||
23
.gitpod.yml
23
.gitpod.yml
@@ -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==
|
||||
|
||||
Reference in New Issue
Block a user