From f4c89fc8a23e2648158d43cad83c00ba46d13a29 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 30 Sep 2021 20:58:34 +0200 Subject: [PATCH] feat: Initial gitpod support --- .gitpod.yml | 33 +++++++++++++++++++++++++++++++++ gitpod.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .gitpod.yml create mode 100644 gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..1f340ec1 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,33 @@ +image: trainiteu/gitpod-cpp + +# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/ +tasks: + - name: gcc-11 Release + init: | + mkdir -p build/GCC-11 && cd build/GCC-11 + conan install ../.. -pr gcc11 -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: gcc-11 Debug + init: | + mkdir -p build/GCC-11 && cd build/GCC-11 + conan install ../.. -pr gcc11 -s compiler.cppstd=20 -s build_type=Debug -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: clang-13 Release + init: | + mkdir -p build/GCC-11 && cd build/Clang-13 + conan install ../.. -pr clang13 -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: clang-13 Debug + init: | + mkdir -p build/GCC-11 && cd build/Clang-13 + conan install ../.. -pr clang13 -s compiler.cppstd=20 -s build_type=Debug -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + +vscode: + extensions: + - twxs.cmake + - ms-vscode.cmake-tools + - streetsidesoftware.code-spell-checker + - vivaxy.vscode-conventional-commits + - github.vscode-pull-request-github + - lextudio.restructuredtext diff --git a/gitpod.yml b/gitpod.yml new file mode 100644 index 00000000..1f340ec1 --- /dev/null +++ b/gitpod.yml @@ -0,0 +1,33 @@ +image: trainiteu/gitpod-cpp + +# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/ +tasks: + - name: gcc-11 Release + init: | + mkdir -p build/GCC-11 && cd build/GCC-11 + conan install ../.. -pr gcc11 -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: gcc-11 Debug + init: | + mkdir -p build/GCC-11 && cd build/GCC-11 + conan install ../.. -pr gcc11 -s compiler.cppstd=20 -s build_type=Debug -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: clang-13 Release + init: | + mkdir -p build/GCC-11 && cd build/Clang-13 + conan install ../.. -pr clang13 -s compiler.cppstd=20 -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + - name: clang-13 Debug + init: | + mkdir -p build/GCC-11 && cd build/Clang-13 + conan install ../.. -pr clang13 -s compiler.cppstd=20 -s build_type=Debug -e mp-units:CONAN_RUN_TESTS=True -o build_docs=False -b outdated -u + conan build ../.. + +vscode: + extensions: + - twxs.cmake + - ms-vscode.cmake-tools + - streetsidesoftware.code-spell-checker + - vivaxy.vscode-conventional-commits + - github.vscode-pull-request-github + - lextudio.restructuredtext