[Tarantool-patches] [PATCH luajit v2 1/2] ci: add arm64 architecture to exotic testing

Sergey Kaplun skaplun at tarantool.org
Mon Feb 13 12:35:33 MSK 2023


This commit adds the matrix column with CPU architecture dependency to
be used in future workflows. However, the dual-number mode is default
for arm64 in LuaJIT, so its excluded from the matrix.
---
 .github/workflows/exotic-builds-testing.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/exotic-builds-testing.yml b/.github/workflows/exotic-builds-testing.yml
index cd0c14d7..845ae864 100644
--- a/.github/workflows/exotic-builds-testing.yml
+++ b/.github/workflows/exotic-builds-testing.yml
@@ -29,11 +29,12 @@ concurrency:
   cancel-in-progress: true
 
 jobs:
-  test-x86_64-exotic:
+  test-exotic:
     strategy:
       fail-fast: false
       matrix:
         BUILDTYPE: [Debug, Release]
+        ARCH: [ARM64, x86_64]
         GC64: [ON, OFF]
         FLAVOR: [dualnum]
         include:
@@ -43,10 +44,14 @@ jobs:
             CMAKEFLAGS: -DCMAKE_BUILD_TYPE=RelWithDebInfo
           - FLAVOR: dualnum
             FLAVORFLAGS: -DLUAJIT_NUMMODE=2
-    runs-on: [self-hosted, regular, Linux, x86_64]
+        exclude:
+          # DUALNUM is default for ARM64, no need for additional testing.
+          - FLAVOR: dualnum
+            ARCH: ARM64
+    runs-on: [self-hosted, regular, Linux, '${{ matrix.ARCH }}']
     name: >
       LuaJIT ${{ matrix.FLAVOR }}
-      (Linux/x86_64)
+      (Linux/${{ matrix.ARCH }})
       ${{ matrix.BUILDTYPE }}
       GC64:${{ matrix.GC64 }}
     steps:
-- 
2.34.1



More information about the Tarantool-patches mailing list