This adds support for GitHub actions to compile barebox and to do some basic runtime tests on emulated machines. A container is set up with Crosstool toolchains installed for most architectures in barebox (kvx is missing currently). This is used to compile all defconfigs. See https://github.com/barebox/barebox/actions/runs/4880635125 for the results of the current next branch. The runtime tests can be seen here: https://github.com/barebox/barebox/actions/runs/4880635129 . barebox starts on several emulated ARM/Mips/riscv/x86 machines. This shows that the boards come up. Additionally the barebox selftests are enabled and run on the boards. This is all far from being perfect, but it's a start. I'd be glad to get some comments and/or suggestions how this could be improved, I am still a beginner when it comes to GitHub actions. Also suggestions what else could be tested would be welcomed on our way to get better releases in the future. For those of you who are not familiar with GitHub actions: You can easily run the tests yourself. Just fork the barebox repository on GitHub and push some branch based on the current next branch to it. Head over to the "Actions" tab and wait/look for the results. Sascha Sascha Hauer (1): Add GitHub CI .github/workflows/container.yml | 32 ++++++++ .github/workflows/test-defconfigs.yml | 44 +++++++++++ .github/workflows/test-labgrid-pytest.yml | 70 ++++++++++++++++++ test/Containerfile | 89 +++++++++++++++++++++++ test/generate-dummy-fw.sh | 62 ++++++++++++++++ test/kconfig/disable_size_check.kconf | 1 + test/kconfig/disable_target_tools.kconf | 5 ++ test/kconfig/enable_self_test.kconf | 5 ++ 8 files changed, 308 insertions(+) create mode 100644 .github/workflows/container.yml create mode 100644 .github/workflows/test-defconfigs.yml create mode 100644 .github/workflows/test-labgrid-pytest.yml create mode 100644 test/Containerfile create mode 100755 test/generate-dummy-fw.sh create mode 100644 test/kconfig/disable_size_check.kconf create mode 100644 test/kconfig/disable_target_tools.kconf create mode 100644 test/kconfig/enable_self_test.kconf -- 2.39.2