libreoffice-online/.gitpod.yml
Muhammet Kara 7777f3df63 Gitpod: Use nproc with make
To make use of multiple cores/threads as suggested by kendy

Change-Id: I07f12cf816133bb7e2b0c751fb6e623a535ff2e0
2020-10-12 15:11:00 +03:00

36 lines
1.4 KiB
YAML

image:
file: .gitpod.dockerfile
ports:
- port: 9980
onOpen: open-browser
- port: 6080
protocol: "http"
vscode:
extensions:
- ms-vscode.cpptools@0.26.2:Pq/tmf2WN3SanVzB4xZc1g==
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: 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
tasks:
- init: cd .. && wget https://github.com/CollaboraOnline/online/releases/download/for-code-assets/core-cp-6.4-assets.tar.gz
prebuild: tar xvf core-cp-6.4-assets.tar.gz && rm core-cp-6.4-assets.tar.gz && cd online && ./autogen.sh && ./configure --enable-silent-rules --with-lokit-path=/workspace/include --with-lo-path=/workspace/instdir --enable-debug --disable-setcap && cp .gitpod-files/loolwsd-gitpod.xml loolwsd.xml && make -j `nproc`