From d83515dcdab7cdb658128a3dd80b82be0d52c98d Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 17 Jun 2024 17:44:04 +0200 Subject: [PATCH] Add DevContainer files for Clang 13 to 17 --- .devcontainer/clang13/Dockerfile | 5 +++++ .devcontainer/clang13/devcontainer.json | 20 ++++++++++++++++++++ .devcontainer/clang14/Dockerfile | 5 +++++ .devcontainer/clang14/devcontainer.json | 20 ++++++++++++++++++++ .devcontainer/clang15/Dockerfile | 5 +++++ .devcontainer/clang15/devcontainer.json | 20 ++++++++++++++++++++ .devcontainer/clang16/Dockerfile | 5 +++++ .devcontainer/clang16/devcontainer.json | 20 ++++++++++++++++++++ .devcontainer/clang17/Dockerfile | 5 +++++ .devcontainer/clang17/devcontainer.json | 20 ++++++++++++++++++++ 10 files changed, 125 insertions(+) create mode 100644 .devcontainer/clang13/Dockerfile create mode 100644 .devcontainer/clang13/devcontainer.json create mode 100644 .devcontainer/clang14/Dockerfile create mode 100644 .devcontainer/clang14/devcontainer.json create mode 100644 .devcontainer/clang15/Dockerfile create mode 100644 .devcontainer/clang15/devcontainer.json create mode 100644 .devcontainer/clang16/Dockerfile create mode 100644 .devcontainer/clang16/devcontainer.json create mode 100644 .devcontainer/clang17/Dockerfile create mode 100644 .devcontainer/clang17/devcontainer.json diff --git a/.devcontainer/clang13/Dockerfile b/.devcontainer/clang13/Dockerfile new file mode 100644 index 000000000..74f4c5f23 --- /dev/null +++ b/.devcontainer/clang13/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:22.04 + +RUN apt-get update +RUN apt-get install -y cmake git clang-13 libc++-13-dev libc++abi-13-dev +ENV CC=clang-13 CXX=clang++-13 diff --git a/.devcontainer/clang13/devcontainer.json b/.devcontainer/clang13/devcontainer.json new file mode 100644 index 000000000..fc747d5c1 --- /dev/null +++ b/.devcontainer/clang13/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Clang 13", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--name=ArduinoJson-clang13" + ], + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cmake-tools" + ], + "settings": { + "cmake.generator": "Unix Makefiles", + "cmake.buildDirectory": "/tmp/build" + } + } + } +} diff --git a/.devcontainer/clang14/Dockerfile b/.devcontainer/clang14/Dockerfile new file mode 100644 index 000000000..0e7d67fa5 --- /dev/null +++ b/.devcontainer/clang14/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:22.04 + +RUN apt-get update +RUN apt-get install -y cmake git clang-14 libc++-14-dev libc++abi-14-dev +ENV CC=clang-14 CXX=clang++-14 diff --git a/.devcontainer/clang14/devcontainer.json b/.devcontainer/clang14/devcontainer.json new file mode 100644 index 000000000..716e824fb --- /dev/null +++ b/.devcontainer/clang14/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Clang 14", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--name=ArduinoJson-clang14" + ], + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cmake-tools" + ], + "settings": { + "cmake.generator": "Unix Makefiles", + "cmake.buildDirectory": "/tmp/build" + } + } + } +} diff --git a/.devcontainer/clang15/Dockerfile b/.devcontainer/clang15/Dockerfile new file mode 100644 index 000000000..21abe15f8 --- /dev/null +++ b/.devcontainer/clang15/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:22.04 + +RUN apt-get update +RUN apt-get install -y cmake git clang-15 libc++-15-dev libc++abi-15-dev +ENV CC=clang-15 CXX=clang++-15 diff --git a/.devcontainer/clang15/devcontainer.json b/.devcontainer/clang15/devcontainer.json new file mode 100644 index 000000000..b802f2f13 --- /dev/null +++ b/.devcontainer/clang15/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Clang 15", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--name=ArduinoJson-clang15" + ], + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cmake-tools" + ], + "settings": { + "cmake.generator": "Unix Makefiles", + "cmake.buildDirectory": "/tmp/build" + } + } + } +} diff --git a/.devcontainer/clang16/Dockerfile b/.devcontainer/clang16/Dockerfile new file mode 100644 index 000000000..206efc16b --- /dev/null +++ b/.devcontainer/clang16/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:22.04 + +RUN apt-get update +RUN apt-get install -y cmake git clang-16 libc++-16-dev libc++abi-16-dev +ENV CC=clang-16 CXX=clang++-16 diff --git a/.devcontainer/clang16/devcontainer.json b/.devcontainer/clang16/devcontainer.json new file mode 100644 index 000000000..650cf7988 --- /dev/null +++ b/.devcontainer/clang16/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Clang 16", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--name=ArduinoJson-clang16" + ], + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cmake-tools" + ], + "settings": { + "cmake.generator": "Unix Makefiles", + "cmake.buildDirectory": "/tmp/build" + } + } + } +} diff --git a/.devcontainer/clang17/Dockerfile b/.devcontainer/clang17/Dockerfile new file mode 100644 index 000000000..1b4501a40 --- /dev/null +++ b/.devcontainer/clang17/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:24.04 + +RUN apt-get update +RUN apt-get install -y cmake git clang-17 libc++-17-dev libc++abi-17-dev +ENV CC=clang-17 CXX=clang++-17 diff --git a/.devcontainer/clang17/devcontainer.json b/.devcontainer/clang17/devcontainer.json new file mode 100644 index 000000000..6980f1c07 --- /dev/null +++ b/.devcontainer/clang17/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Clang 17", + "build": { + "dockerfile": "Dockerfile" + }, + "runArgs": [ + "--name=ArduinoJson-clang17" + ], + "customizations": { + "vscode": { + "extensions": [ + "ms-vscode.cmake-tools" + ], + "settings": { + "cmake.generator": "Unix Makefiles", + "cmake.buildDirectory": "/tmp/build" + } + } + } +}