[Tarantool-patches] [PATCH luajit] ci: introduce GitHub Actions
Igor Munkin
imun at tarantool.org
Fri Mar 4 14:55:27 MSK 2022
I've checked the patch into all long-term branches in tarantool/luajit
and bumped a new version in 1.10, 2.8 and master.
On 01.03.22, Igor Munkin wrote:
> This patch introduces the following testing matrix for our LuaJIT fork:
>
> +--------------------------------+------------------+-------------+
> | | Linux | macOS |
> | +--------+---------+--------+----+
> | | x86_64 | aarch64 | x86_64 | M1 |
> +---------------+----------------+--------+---------+--------+----+
> | | RelWithDebInfo | + | + | + | + |
> + GC64 disabled +----------------+--------+---------+--------+----+
> | | Debug(*) | + | + | + | + |
> +---------------+----------------+--------+---------+--------+----+
> | | RelWithDebInfo | + | + | + | + |
> + GC64 enabled +----------------+--------+---------+--------+----+
> | | Debug(*) | + | + | + | + |
> +---------------+----------------+--------+---------+--------+----+
>
> (*) Debug build also uses LuaJIT internal assertions.
>
> For each column there is a separate workflow file, since it requires a
> specific runner and setup routine. For each row workflow toggles GC64
> mode and build type flags and triggers the run with the chosen
> configuration options.
>
> There is one more workflow running only static analysis check. This
> division is caused by specific requirements to be installed (i.e.
> luarocks and luacheck). For other workflows <LuaJIT-luacheck> rule is
> just a noop step (see test/CMakeLists.txt for more info).
>
> All workflows are not triggered for the branches with "-notest" suffix
> and also "upstream-" prefix (but they are unlikely to be merged into the
> latter ones anyway). Nothing is also triggered for all tags.
>
> There is also one nit to be mentioned: actively running workflows on all
> branches except the long-term ones (i.e. tarantool, tarantool-1.10, etc)
> are canceled if "force push" occurs.
>
> Signed-off-by: Igor Munkin <imun at tarantool.org>
> ---
> .github/workflows/lint.yml | 47 ++++++++++++++++++++
> .github/workflows/linux-aarch64.yml | 57 +++++++++++++++++++++++++
> .github/workflows/linux-x86_64.yml | 57 +++++++++++++++++++++++++
> .github/workflows/macos-m1.yml | 66 +++++++++++++++++++++++++++++
> .github/workflows/macos-x86_64.yml | 66 +++++++++++++++++++++++++++++
> 5 files changed, 293 insertions(+)
> create mode 100644 .github/workflows/lint.yml
> create mode 100644 .github/workflows/linux-aarch64.yml
> create mode 100644 .github/workflows/linux-x86_64.yml
> create mode 100644 .github/workflows/macos-m1.yml
> create mode 100644 .github/workflows/macos-x86_64.yml
>
<snipped>
> --
> 2.34.0
>
--
Best regards,
IM
More information about the Tarantool-patches
mailing list