From 0c28eb6b592ab9b0f5be6725663c60dadcb87eca Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 20 Jul 2026 15:29:00 +0200 Subject: [PATCH 1/2] ci: improvements for the GitHub Actions jobs - docker/CentOS7: use Python3 (CentOS7 has Python2 as default) - update actions/checkout (v4 -> v7), actions/upload-artifact (v4 -> v7) - don't "--pull=always" the CentOS7 image (which is EOL) - don't error on class-memaccess, mismatched-new-delete, terminate and nonnull-compare (new gcc has new warnings for gdd) --- .github/workflows/ci-scripts-build.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-scripts-build.yml b/.github/workflows/ci-scripts-build.yml index 8d7e2a860..424652d4c 100644 --- a/.github/workflows/ci-scripts-build.yml +++ b/.github/workflows/ci-scripts-build.yml @@ -55,11 +55,15 @@ jobs: -Wno-error=deprecated-declarations -Wno-error=stringop-truncation -Wno-error=restrict + -Wno-error=class-memaccess + -Wno-error=mismatched-new-delete -Wno-error=sizeof-pointer-memaccess -Wno-error=nonnull + -Wno-error=nonnull-compare -Wno-error=dangling-pointer -Wno-error=format-overflow -Wno-error=stringop-overread + -Wno-error=terminate -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3' CMD_LDFLAGS=-Wl,-z,relro" @@ -186,7 +190,7 @@ jobs: cross: linux-arm@arm-linux-gnueabihf steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: true - name: Automatic core dumper analysis @@ -204,7 +208,7 @@ jobs: run: python .ci/cue.py -T 60M test - name: Upload tapfiles Artifact if: ${{ always() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: tapfiles ${{ matrix.name }} path: '**/O.*/*.tap' @@ -262,7 +266,7 @@ jobs: dnf -y install python3 gdb make perl gcc-c++ glibc-devel readline-devel ncurses-devel perl-devel perl-Test-Simple git --version || dnf -y install git python3 --version - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: true - name: Automatic core dumper analysis @@ -275,7 +279,7 @@ jobs: run: python3 .ci/cue.py -T 20M test - name: Upload tapfiles Artifact if: ${{ always() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: tapfiles ${{ matrix.name }} path: '**/O.*/*.tap' @@ -292,10 +296,10 @@ jobs: BCFG: default steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: true - + - name: Run... run: | env > env.list @@ -313,7 +317,7 @@ jobs: curl make gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker \ python3 gdb make perl gcc-c++ glibc-devel readline-devel ncurses-devel perl-devel perl-Test-Simple \ libevent-devel sudo re2c perl-version - [ -e /usr/bin/python ] || ln -sf /usr/bin/python3 /usr/bin/python + rm -f /usr/bin/python && ln -sf /usr/bin/python3 /usr/bin/python # fake out cue.py ln -s /bin/true /usr/bin/apt-get @@ -329,7 +333,6 @@ jobs: EOF chmod +x runit.sh docker run --rm --quiet \ - --pull=always \ --env-file env.list \ -v `pwd`:/io \ centos:7 \ From bdf2b0ab4229e0bb69dbe9107dbb40c332db4f33 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 20 Jul 2026 15:17:18 +0200 Subject: [PATCH 2/2] ci: update GHA Ubuntu runners (22->24, 24->26) - also install libcrypt-dev (for ubuntu-26) --- .github/workflows/ci-scripts-build.yml | 54 +++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci-scripts-build.yml b/.github/workflows/ci-scripts-build.yml index 424652d4c..c105740ec 100644 --- a/.github/workflows/ci-scripts-build.yml +++ b/.github/workflows/ci-scripts-build.yml @@ -40,9 +40,9 @@ jobs: matrix: # Job names also name artifacts, character limitations apply include: - - os: ubuntu-24.04 + - os: ubuntu-26.04 cmp: gcc - name: "Ub-24 gcc-13 c++20 Werror" + name: "Ub-26 gcc-15 c++20 Werror" # Turn all warnings into errors, # except for those we could not fix (yet). # Remove respective -Wno-error=... flag once it is fixed. @@ -67,79 +67,79 @@ jobs: -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3' CMD_LDFLAGS=-Wl,-z,relro" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default cross: "windows-x64-mingw" - name: "Ub-22 gcc + MinGW" + name: "Ub-24 gcc + MinGW" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: static cross: "windows-x64-mingw" - name: "Ub-22 gcc + MinGW, static" + name: "Ub-24 gcc + MinGW, static" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: static extra: "CMD_CXXFLAGS=-std=c++11" - name: "Ub-22 gcc C++11, static" + name: "Ub-24 gcc C++11, static" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: static extra: "CMD_CFLAGS=-funsigned-char CMD_CXXFLAGS=-funsigned-char" - name: "Ub-22 gcc unsigned char" + name: "Ub-24 gcc unsigned char" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: clang configuration: default - name: "Ub-22 clang" + name: "Ub-24 clang" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: clang configuration: default extra: "CMD_CXXFLAGS=-std=c++11" - name: "Ub-22 clang C++11" + name: "Ub-24 clang C++11" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default cross: "RTEMS-pc686-qemu@5" - name: "Ub-22 gcc + RT-5.1 pc686" + name: "Ub-24 gcc + RT-5.1 pc686" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default cross: "RTEMS-beatnik@5" test: NO - name: "Ub-22 gcc + RT-5.1 beatnik" + name: "Ub-24 gcc + RT-5.1 beatnik" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default cross: "RTEMS-xilinx_zynq_a9_qemu@5" test: NO - name: "Ub-22 gcc + RT-5.1 xilinx_zynq_a9_qemu" + name: "Ub-24 gcc + RT-5.1 xilinx_zynq_a9_qemu" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default cross: "RTEMS-uC5282@5" test: NO - name: "Ub-22 gcc + RT-5.1 uC5282" + name: "Ub-24 gcc + RT-5.1 uC5282" - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default - name: "Ub-22 gcc + RT-4.10" + name: "Ub-24 gcc + RT-4.10" cross: "RTEMS-pc386-qemu@4.10" test: NO - - os: ubuntu-22.04 + - os: ubuntu-24.04 cmp: gcc configuration: default - name: "Ub-22 gcc + RT-4.9" + name: "Ub-24 gcc + RT-4.9" cross: "RTEMS-pc386-qemu@4.9" - os: macos-latest @@ -198,7 +198,7 @@ jobs: - name: "apt-get install" run: | sudo apt-get update - sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb + sudo apt-get -y install qemu-system-x86 g++-mingw-w64-x86-64 gdb libcrypt-dev if: runner.os == 'Linux' - name: Prepare and compile dependencies run: python .ci/cue.py prepare