Skip to content

github: Add a draft GitHub actions CI job#303

Merged
arichardson merged 9 commits into
CTSRD-CHERI:devfrom
arichardson:github-action
Nov 15, 2025
Merged

github: Add a draft GitHub actions CI job#303
arichardson merged 9 commits into
CTSRD-CHERI:devfrom
arichardson:github-action

Conversation

@arichardson
Copy link
Copy Markdown
Member

Just running build+test for now with GCC.

arichardson and others added 8 commits November 14, 2025 15:12
Just running build+test for now with GCC.
Using the same approach as 38df191.
This should fix the GCC build in the newly added -Werror github action.

```
In file included from ../target/arm/gdbstub64.c:21:
../target/arm/gdbstub64.c: In function ‘aarch64_cpu_gdb_write_register’:
../target/arm/cpu.h:3652:14: error: array subscript 31 is above array bounds of ‘uint32_t[16]’ {aka ‘unsigned int[16]’} [-Werror=array-bounds]
 3652 |     env->regs[regnum] = value;
      |     ~~~~~~~~~^~~~~~~~
In file included from ../target/arm/gdbstub64.c:21:
../target/arm/cpu.h:263:14: note: while referencing ‘regs’
  263 |     uint32_t regs[16];
      |              ^~~~
In file included from ../target/arm/gdbstub64.c:21:
../target/arm/cpu.h:3653:43: error: array subscript 31 is above array bounds of ‘const char * const[16]’ [-Werror=array-bounds]
 3653 |     qemu_log_instr_reg(env, arm32_regnames[regnum], value, regnum,
      |                             ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../target/arm/gdbstub64.c:21:
../target/arm/cpu.h:250:27: note: while referencing ‘arm32_regnames’
  250 | extern const char * const arm32_regnames[16];
      |                           ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
The perl test harness is not necessary anymore since commit 3d2f73e
("build: use "meson test" as the test harness"). Thus remove it from
tests/lcitool/projects/qemu.yml, run "make lcitool-refresh" and manually
clean the remaining docker / vm files that are not managed by lcitool yet.

Message-Id: <20220329102808.423681-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit b0dd0a3)
According to our "Supported build platforms" policy, we now do not support
Ubuntu 18.04 anymore. Remove the related container files and entries from
our CI.

Message-Id: <20220516115912.120951-1-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit f3f0cba)
This is needed to be able to add a venv-building step to 'make check';
the clang-user job in particular needs this to be able to run
check-unit.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220526000921.1581503-9-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit e184036)
Debian 10 is no longer supported so we have to use
Until we merge up to version 8.0, including these by default will
cause the github actions runner to time out.
Apparently the test results produce a 34MB test file which needs this
option to be set.
@arichardson arichardson merged commit f5f1334 into CTSRD-CHERI:dev Nov 15, 2025
51 checks passed
@arichardson arichardson deleted the github-action branch November 15, 2025 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants