Skip to content

Commit

Permalink
build: more gitpod-related fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Feb 2, 2024
1 parent f132750 commit fd2b8bb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ vscode:
- hbenl.vscode-test-explorer
- matepek.vscode-catch2-test-adapter
- redhat.vscode-yaml
- ritwickdey.liveserver
- ms-python.python

# --------------------------------------------------------
Expand Down Expand Up @@ -85,8 +84,10 @@ tasks:
exit
- name: install python packages
before: |
python -m venv ${PYTHON_VENV}
source ${PYTHON_VENV}/bin/activate
pip install -Ur requirements.txt
conan profile detect
conan config install $PWD/.gitpod/conan
gp sync-done python-init
exit
Expand Down Expand Up @@ -122,5 +123,5 @@ tasks:
init: |
gp sync-await python-init
source ${PYTHON_VENV}/bin/activate
mkdocs serve
echo "πŸ“š Documentation generation done! You can open it by clicking on 'Go Live' in the VSCode status bar. πŸ“š"
mkdocs serve &
echo "πŸ“š Documentation generation done! You can open it by clicking on 'Open Preview' or 'Open Browser' in the VSCode dialog window. πŸ“š"
9 changes: 9 additions & 0 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ RUN lsb_rel=`lsb_release -cs` && \
RUN sudo install-packages \
g++-12 \
clang-16

# Install mkdocs dependencies
RUN sudo install-packages \
libcairo2-dev \
libfreetype6-dev \
libffi-dev \
libjpeg-dev \
libpng-dev \
libz-dev

0 comments on commit fd2b8bb

Please sign in to comment.