-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
41 lines (38 loc) · 1.74 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
image:
file: .gitpod.Dockerfile
vscode:
extensions:
- [email protected]:9s7m9CWOr6i6NZ7CNNF4kw==
- [email protected]:D4zHFORWBgqtZI9hwWYNvA==
- [email protected]:Pq/tmf2WN3SanVzB4xZc1g==
- [email protected]:xTXH1VQyqquz2hjSx7fGWQ==
tasks:
- init: |
mkdir .theia && ln $(pwd)/.gitpod/.theia/settings.json .theia && ln $(pwd)/.gitpod/.theia/launch.json .theia
mkdir .vscode && ln $(pwd)/.gitpod/.vscode/cmake-kits.json .vscode
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=/workspace/cmakels/install -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -H/workspace/cmakels -B/workspace/cmakels/build "-GUnix Makefiles"
ln -s /workspace/cmakels/build/compile_commands.json .
prebuild: |
mkdir -p build/.clangd
cmake --build /workspace/cmakels/build/ --parallel $(nproc)
clangd-indexer-10-rc1 --executor=all-TUs compile_commands.json > /workspace/cmakels/build/.clangd/clangd.dex
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a check to pull requests (defaults to true)
addCheck: false
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: false
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false