build: more gitpod-related fixes

This commit is contained in:
Mateusz Pusz
2024-02-02 21:33:01 +00:00
parent f132750160
commit fd2b8bb1e4
2 changed files with 13 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ vscode:
- hbenl.vscode-test-explorer - hbenl.vscode-test-explorer
- matepek.vscode-catch2-test-adapter - matepek.vscode-catch2-test-adapter
- redhat.vscode-yaml - redhat.vscode-yaml
- ritwickdey.liveserver
- ms-python.python - ms-python.python
# -------------------------------------------------------- # --------------------------------------------------------
@@ -85,8 +84,10 @@ tasks:
exit exit
- name: install python packages - name: install python packages
before: | before: |
python -m venv ${PYTHON_VENV}
source ${PYTHON_VENV}/bin/activate source ${PYTHON_VENV}/bin/activate
pip install -Ur requirements.txt pip install -Ur requirements.txt
conan profile detect
conan config install $PWD/.gitpod/conan conan config install $PWD/.gitpod/conan
gp sync-done python-init gp sync-done python-init
exit exit
@@ -122,5 +123,5 @@ tasks:
init: | init: |
gp sync-await python-init gp sync-await python-init
source ${PYTHON_VENV}/bin/activate source ${PYTHON_VENV}/bin/activate
mkdocs serve mkdocs serve &
echo "📚 Documentation generation done! You can open it by clicking on 'Go Live' in the VSCode status bar. 📚" echo "📚 Documentation generation done! You can open it by clicking on 'Open Preview' or 'Open Browser' in the VSCode dialog window. 📚"

View File

@@ -8,3 +8,12 @@ RUN lsb_rel=`lsb_release -cs` && \
RUN sudo install-packages \ RUN sudo install-packages \
g++-12 \ g++-12 \
clang-16 clang-16
# Install mkdocs dependencies
RUN sudo install-packages \
libcairo2-dev \
libfreetype6-dev \
libffi-dev \
libjpeg-dev \
libpng-dev \
libz-dev