forked from arbor-sim/arbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
37 lines (35 loc) · 1.56 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
vscode:
extensions:
- [email protected]:9s7m9CWOr6i6NZ7CNNF4kw==
- [email protected]:Yde58UUl5J9XpLmXM+Bqiw==
- [email protected]:Pq/tmf2WN3SanVzB4xZc1g==
- [email protected]:ZI2Sl3DHdJu4aG2wW92CQQ==
tasks:
- init: |
git submodule update --init --recursive
mkdir build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -H/workspace/arbor -B/workspace/arbor/build \
-DCMAKE_INSTALL_PREFIX:STRING=/workspace/arbor/install -DCMAKE_BUILD_TYPE:STRING=Debug -G "Unix Makefiles" \
-DARB_WITH_PYTHON:BOOL=ON
ln -s /workspace/arbor/build/compile_commands.json /workspace/arbor
export PYTHONPATH=/workspace/arbor/install/lib/python3.7/site-packages
prebuild: |
cmake --build /workspace/arbor/build/ --parallel $(nproc) --target install
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: true
# add a check to pull requests (defaults to true)
addCheck: true
# 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: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false