forked from OpenMS/OpenMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
48 lines (48 loc) · 2.02 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
42
43
44
45
46
47
48
tasks:
- init: |
cp -r .vscode-gitpod .vscode
git config -f .gitmodules submodule.THIRDPARTY.shallow true
git submodule update --init THIRDPARTY
export PATH=$PATH$( find ${PWD}/THIRDPARTY/All -type d -printf ":%p" )
export PATH=$PATH$( find ${PWD}/THIRDPARTY/Linux/64bit -type d -printf ":%p" )
mkdir -p build && pushd build
cmake -DCMAKE_BUILD_TYPE=Debug -DHAS_XSERVER=OFF -DENABLE_DOCS=OFF -DWITH_GUI=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_PREFIX_PATH='/contrib-build/;/usr/;/usr/local' -DBOOST_USE_STATIC=OFF ../
make -j7 OpenMS TOPP
popd
command: |
export PATH=$PATH$( find ${PWD}/THIRDPARTY/All -type d -printf ":%p" )
export PATH=$PATH$( find ${PWD}/THIRDPARTY/Linux/64bit -type d -printf ":%p" )
pushd build && make -j7 all && popd
image:
file: .gitpod.Dockerfile
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: false
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: false
# 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: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false
vscode:
extensions:
#Will never be available on OpenVSX
#- ms-vscode.cpptools
- https://github.com/microsoft/vscode-cpptools/releases/download/v1.12.4/cpptools-linux.vsix
- hbenl.vscode-test-explorer
- fredericbonnet.cmake-test-adapter
- llvm-vs-code-extensions.vscode-clangd
- ms-vscode.cmake-tools
- mhutchie.git-graph
- cschlosser.doxdocgen
- hbenl.test-adapter-converter
- twxs.cmake