Merge remote-tracking branch 'upstream'

This commit is contained in:
zimoch committed 2026-11-03 14:18:24 +01:00
commit 67a8bb8bed
1 file changed
+38 -35
+38 -35
View File
@@ -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.
@@ -55,87 +55,91 @@ 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"
- 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
@@ -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
@@ -194,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
@@ -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 \