From bc29f952f8bceb717c39048149c58c790800778b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 26 Jul 2025 07:05:14 +0000 Subject: [PATCH 1/6] Initial plan From 9b0e5e28ab5b64b0888874302ba1d4f92ad35b03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 26 Jul 2025 07:10:37 +0000 Subject: [PATCH 2/6] Upgrade GitHub runner from Ubuntu 20.04 to 22.04 Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com> --- .../{build-ubuntu-2004.yml => build-ubuntu-2204.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{build-ubuntu-2004.yml => build-ubuntu-2204.yml} (82%) diff --git a/.github/workflows/build-ubuntu-2004.yml b/.github/workflows/build-ubuntu-2204.yml similarity index 82% rename from .github/workflows/build-ubuntu-2004.yml rename to .github/workflows/build-ubuntu-2204.yml index 1c5ef2a25..e8f456bbc 100644 --- a/.github/workflows/build-ubuntu-2004.yml +++ b/.github/workflows/build-ubuntu-2204.yml @@ -1,4 +1,4 @@ -name: C/C++ CI on Ubuntu 18:04 +name: C/C++ CI on Ubuntu 22.04 on: push: @@ -28,11 +28,11 @@ jobs: strategy: matrix: config: [release, debug] - os: [ubuntu-20.04] + os: [ubuntu-22.04] steps: - name: Checkout uses: actions/checkout@v1 continue-on-error: true - name: Test ${{ matrix.os }} ${{ matrix.config }} - run: ./build-tests.sh ${{ matrix.config }} + run: ./build-tests.sh ${{ matrix.config }} \ No newline at end of file From 20c54f403ac7d3b1c2c8b2d9b3cb246584ed13bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 26 Jul 2025 07:18:39 +0000 Subject: [PATCH 3/6] Update README.md and add Ubuntu 22.04 Docker support - Add Ubuntu 22.04 LTS to Build Environments table with GCC 11.x.x - Add Ubuntu 22.04.x LTS to Target Platforms table, marked as CI covered - Create docker/ubuntu22.04/Dockerfile for build consistency - Updated python to python3 in Ubuntu 22.04 Docker for compatibility Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com> --- README.md | 4 +++- docker/ubuntu22.04/Dockerfile | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docker/ubuntu22.04/Dockerfile diff --git a/README.md b/README.md index 6c8978858..a29acd803 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,8 @@ Other resources to learn how to setup the build system: | Raspbian GNU/Linux 8 (jessie) | GCC 4.9.2 (armv7l) | | Ubuntu 14.04.x LTS | GCC 5.x.x | | Ubuntu 16.04 LTS | GCC 5.x.x, GCC 5.x.x (armv7l) | - | Ubuntu 18.04 LTS | GCC 7.5.x | + | Ubuntu 18.04 LTS | GCC 7.5.x | + | Ubuntu 22.04 LTS | GCC 11.x.x | | Windows 10 | Android Studio/Gradle | | Windows Server 2016 | Visual Studio 2017 (vc141) | | Windows Server 2019 | Visual Studio 2019 (vc142) | @@ -90,6 +91,7 @@ Other resources to learn how to setup the build system: | Ubuntu 16.04.x LTS | :white_check_mark: | | | Ubuntu 18.04.x LTS | :white_check_mark: | | | Ubuntu 20.04.x LTS | :white_check_mark: | :white_check_mark: | + | Ubuntu 22.04.x LTS | :white_check_mark: | :white_check_mark: | | Ubuntu (latest) | :white_check_mark: | :white_check_mark: | | Windows 7.1 | :white_check_mark: | | | Windows 8.1 | :white_check_mark: | | diff --git a/docker/ubuntu22.04/Dockerfile b/docker/ubuntu22.04/Dockerfile new file mode 100644 index 000000000..cf3080956 --- /dev/null +++ b/docker/ubuntu22.04/Dockerfile @@ -0,0 +1,22 @@ +FROM ubuntu:22.04 + +ENV DEBIAN_FRONTEND noninteractive + +# Package installation +RUN apt-get update + +## Common packages for linux build environment +RUN apt install -y clang python3 pkg-config git curl nghttp2 bzip2 unzip make wget cmake sudo + +RUN adduser --disabled-password --gecos '' docker +RUN adduser docker sudo +RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers +## RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo +## USER docker + +# this is where I was running into problems with the other approaches +RUN sudo apt-get update + +CMD /bin/bash + +# ENTRYPOINT bash \ No newline at end of file From 61094dbe2bab6b8b49c4370c47354fa50e85c1b3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 17:35:20 +0000 Subject: [PATCH 4/6] Add blank line at end of Dockerfile per review feedback Co-authored-by: reyang <17327289+reyang@users.noreply.github.com> --- docker/ubuntu22.04/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/ubuntu22.04/Dockerfile b/docker/ubuntu22.04/Dockerfile index cf3080956..63aac8f2e 100644 --- a/docker/ubuntu22.04/Dockerfile +++ b/docker/ubuntu22.04/Dockerfile @@ -19,4 +19,4 @@ RUN sudo apt-get update CMD /bin/bash -# ENTRYPOINT bash \ No newline at end of file +# ENTRYPOINT bash From 5074bf9ef150f3da441e524e5b22a8ab1a00b33d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 17:51:29 +0000 Subject: [PATCH 5/6] Remove Ubuntu 18.04 LTS references from README.md Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com> --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 3939a7bae..afd7bf6d6 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,6 @@ Other resources to learn how to setup the build system: | Raspbian GNU/Linux 8 (jessie) | GCC 4.9.2 (armv7l) | | Ubuntu 14.04.x LTS | GCC 5.x.x | | Ubuntu 16.04 LTS | GCC 5.x.x, GCC 5.x.x (armv7l) | - | Ubuntu 18.04 LTS | GCC 7.5.x | | Ubuntu 22.04 LTS | GCC 11.x.x | | Windows 10 | Android Studio/Gradle | | Windows Server 2016 | Visual Studio 2017 (vc141) | @@ -89,7 +88,6 @@ Other resources to learn how to setup the build system: | Mac OS X (latest) | :white_check_mark: | :white_check_mark: | | Ubuntu 14.04.x LTS | :white_check_mark: | | | Ubuntu 16.04.x LTS | :white_check_mark: | | - | Ubuntu 18.04.x LTS | :white_check_mark: | | | Ubuntu 20.04.x LTS | :white_check_mark: | :white_check_mark: | | Ubuntu 22.04.x LTS | :white_check_mark: | :white_check_mark: | | Ubuntu (latest) | :white_check_mark: | :white_check_mark: | From 8ef4aefe4a73ec833d7d92511afa58ddedb55513 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 17:55:51 +0000 Subject: [PATCH 6/6] Remove Ubuntu versions below 20.04 from README.md as requested Co-authored-by: lalitb <1196320+lalitb@users.noreply.github.com> --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index afd7bf6d6..5672cd100 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,6 @@ Other resources to learn how to setup the build system: | Mac OS X 10.12.6 | Clang Xcode 9.0, 9.1 | | Mac OS X 10.13.3 | Clang Xcode 9.2, 9.3, 10.0, 10.1 | | Raspbian GNU/Linux 8 (jessie) | GCC 4.9.2 (armv7l) | - | Ubuntu 14.04.x LTS | GCC 5.x.x | - | Ubuntu 16.04 LTS | GCC 5.x.x, GCC 5.x.x (armv7l) | | Ubuntu 22.04 LTS | GCC 11.x.x | | Windows 10 | Android Studio/Gradle | | Windows Server 2016 | Visual Studio 2017 (vc141) | @@ -86,8 +84,6 @@ Other resources to learn how to setup the build system: | Linux (x86, x64, arm, aarch64) | :white_check_mark: | | | Mac OS X 10.11+ | :white_check_mark: | | | Mac OS X (latest) | :white_check_mark: | :white_check_mark: | - | Ubuntu 14.04.x LTS | :white_check_mark: | | - | Ubuntu 16.04.x LTS | :white_check_mark: | | | Ubuntu 20.04.x LTS | :white_check_mark: | :white_check_mark: | | Ubuntu 22.04.x LTS | :white_check_mark: | :white_check_mark: | | Ubuntu (latest) | :white_check_mark: | :white_check_mark: |