Skip to content

Commit

Permalink
build: more gitpod improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Feb 4, 2024
1 parent d5d803f commit 0c27be4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ tasks:
"tag:yaml.org,2002:python/name:materialx.emoji.to_svg",
"tag:yaml.org,2002:python/name:materialx.emoji.twemoji",
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"
]
],
"workbench.startupEditor": "none"
}
EOF
Expand All @@ -82,6 +83,7 @@ tasks:
pip install -Ur requirements.txt
conan profile detect
conan config install $PWD/.gitpod/conan
conan graph info .
gp sync-done python-init
exit
- name: gcc-12-20
Expand All @@ -97,7 +99,7 @@ tasks:
source ${PYTHON_VENV}/bin/activate
conan build . -pr gcc13 -c user.build:all=True -b missing
conan build . -pr gcc13 -c user.build:all=True -b missing -s build_type=Debug
echo "๐Ÿ› ๏ธ gcc-13 pre-build done for C++20 and `std::format`! You can close this terminal and use 'Build' button in the VSCode status bar for incremental builds. ๐Ÿ› ๏ธ"
echo "๐Ÿ› ๏ธ gcc-13 pre-build done for C++20 and 'std::format'! You can close this terminal and use 'Build' button in the VSCode status bar for incremental builds. ๐Ÿ› ๏ธ"
- name: clang-16-20
init: |
gp sync-await python-init
Expand All @@ -111,10 +113,14 @@ tasks:
source ${PYTHON_VENV}/bin/activate
conan build . -pr clang17 -c user.build:all=True -o cxx_modules=True -b missing
conan build . -pr clang17 -c user.build:all=True -o cxx_modules=True -b missing -s build_type=Debug
echo "๐Ÿ› ๏ธ clang-17 pre-build done for C++20, `std::format`, and C++20 modules! You can close this terminal and use 'Build' button in the VSCode status bar for incremental builds. ๐Ÿ› ๏ธ"
echo "๐Ÿ› ๏ธ clang-17 pre-build done for C++20, 'std::format', and C++20 modules! You can close this terminal and use 'Build' button in the VSCode status bar for incremental builds. ๐Ÿ› ๏ธ"
- name: documentation
init: |
gp sync-await python-init
source ${PYTHON_VENV}/bin/activate
mkdocs serve &
echo "๐Ÿ“š Documentation generation done! You can open it by clicking on 'Open Preview' or 'Open Browser' in the VSCode dialog window. ๐Ÿ“š"
- name: open-contributing-guide
command: |
gp open CONTRIBUTING.md
exit

0 comments on commit 0c27be4

Please sign in to comment.