Hi, Igor!
Thanks for the patch!
LGTM, except for a few nits below.
 
 
Before the patch the all LuaJIT testing jobs were dispatched to the
Typo: s/the all/, all/
runner with the name given via strategy matrix <RUNNER> entry. However,
Typo: s/via/via the/
more convenient way for dispatching is the triplet of the following
Typo: s/more/a more/
labels:
* <matrix.ARCH> to specify the host architecture (i.e. x86_64 or ARM64)
* <matrix.OS> to specify the OS family name (either Linux or macOS)
* 'self-hosted' to make job dispatch only to the runners from Tarantool
  ghacts-shared-* pool and never choose GitHub public resources.

With the given triplet the proper runner is chosen for the particular
testing flavor.

Moreover, the new 'lightweight' and 'regular' labels are also used in
<runs-on> list, since the new "lightweight" runners have been introduced
to ghacts-shared-* pool. There are a couple of LuaJIT tests that
requires more memory than provided by "lightweight" runners, so only
Typo: s/requires/require/
Typo: s/than/than is/
 
"regular" ones need to be chosen for full LuaJIT testing. At the same
time there is no need to use "regular" runner for LuaJIT Static analysis
workflow, hence 'lightweight' label is added to <runs-on> list in
lint.yml workflow file.
Shall we create the same patch for the gnumake workflow?

Signed-off-by: Igor Munkin <imun@tarantool.org>
---
 .github/workflows/gnumake-builds-testing.yml | 20 ++------------------
 .github/workflows/lint.yml | 2 +-
 .github/workflows/testing.yml | 20 ++------------------
 3 files changed, 5 insertions(+), 37 deletions(-)

diff --git a/.github/workflows/gnumake-builds-testing.yml b/.github/workflows/gnumake-builds-testing.yml
index ad9d5015..e5f82780 100644
--- a/.github/workflows/gnumake-builds-testing.yml
+++ b/.github/workflows/gnumake-builds-testing.yml
@@ -38,22 +38,6 @@ jobs:
         GC64: [ON, OFF]
         OS: [Linux, macOS]
         include:
- - ARCH: ARM64
- OS: Linux
- NAME: Linux/aarch64
- RUNNER: graviton
- - ARCH: x86_64
- OS: Linux
- NAME: Linux/x86_64
- RUNNER: ubuntu-20.04-self-hosted
- - ARCH: ARM64
- OS: macOS
- NAME: macOS/M1
- RUNNER: macos-11-m1
- - ARCH: x86_64
- OS: macOS
- NAME: macOS/x86_64
- RUNNER: macos-11
           - BUILDTYPE: Debug
             CMAKEFLAGS: -DCMAKE_BUILD_TYPE=Debug -DLUA_USE_ASSERT=ON -DLUA_USE_APICHECK=ON
             MAKEBUILDFLAGS: -DLUA_USE_ASSERT -DLUA_USE_APICHECK
@@ -70,10 +54,10 @@ jobs:
             GC64: OFF
           - OS: macOS
             GC64: OFF
- runs-on: [self-hosted, '${{ matrix.RUNNER }}']
+ runs-on: [self-hosted, regular, '${{ matrix.OS }}', '${{ matrix.ARCH }}']
     name: >
       LuaJIT
- (${{ matrix.NAME }})
+ (${{ matrix.OS }}/${{ matrix.ARCH }})
       ${{ matrix.BUILDTYPE }}
       GC64:${{ matrix.GC64 }}
     steps:
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e565144c..02150922 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -30,7 +30,7 @@ concurrency:
 
 jobs:
   test-luacheck:
- runs-on: ubuntu-20.04-self-hosted
+ runs-on: [self-hosted, lightweight, Linux, x86_64]
     name: luacheck
     steps:
       - uses: actions/checkout@v2.3.4
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index 958f8e27..5558e3ea 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -38,22 +38,6 @@ jobs:
         GC64: [ON, OFF]
         OS: [Linux, macOS]
         include:
- - ARCH: ARM64
- OS: Linux
- NAME: Linux/aarch64
- RUNNER: graviton
- - ARCH: x86_64
- OS: Linux
- NAME: Linux/x86_64
- RUNNER: ubuntu-20.04-self-hosted
- - ARCH: ARM64
- OS: macOS
- NAME: macOS/M1
- RUNNER: macos-11-m1
- - ARCH: x86_64
- OS: macOS
- NAME: macOS/x86_64
- RUNNER: macos-11
           - BUILDTYPE: Debug
             CMAKEFLAGS: -DCMAKE_BUILD_TYPE=Debug -DLUA_USE_ASSERT=ON -DLUA_USE_APICHECK=ON
           - BUILDTYPE: Release
@@ -63,10 +47,10 @@ jobs:
             GC64: OFF
           - OS: macOS
             GC64: OFF
- runs-on: [self-hosted, '${{ matrix.RUNNER }}']
+ runs-on: [self-hosted, regular, '${{ matrix.OS }}', '${{ matrix.ARCH }}']
     name: >
       LuaJIT
- (${{ matrix.NAME }})
+ (${{ matrix.OS }}/${{ matrix.ARCH }})
       ${{ matrix.BUILDTYPE }}
       GC64:${{ matrix.GC64 }}
     steps:
--
2.34.0
--
Best regards,
Maxim Kokryashkin