]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Run CI on ARM again 5580/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 19 Aug 2025 15:18:48 +0000 (17:18 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 19 Aug 2025 15:18:48 +0000 (17:18 +0200)
.github/workflows/ci.yml
.github/workflows/ci_rspamd.yml
.github/workflows/ci_webui_e2e_playwright.yml

index 46fd669850ab2732bb40db318570a21cd98f2748..32def7d582247dd2da65b21173954604cf26907b 100644 (file)
@@ -18,11 +18,18 @@ jobs:
       image: ghcr.io/rspamd/rspamd-build-docker:fedora-ci
       name: fedora-ci
 
-  ubuntu:
+  ubuntu_amd64:
     uses: ./.github/workflows/ci_rspamd.yml
     with:
       image: ghcr.io/rspamd/rspamd-build-docker:ubuntu-ci
-      name: ubuntu-ci
+      name: ubuntu-ci-amd64
+
+  ubuntu_arm64:
+    uses: ./.github/workflows/ci_rspamd.yml
+    with:
+      image: ghcr.io/rspamd/rspamd-build-docker:ubuntu-ci
+      name: ubuntu-ci-arm64
+      runner: ubuntu-24.04-arm
 
   ubuntu-focal:
     uses: ./.github/workflows/ci_rspamd_build.yml
@@ -43,8 +50,8 @@ jobs:
       name: centos-9
 
   webui-e2e-playwright:
-    needs: ubuntu
+    needs: ubuntu_amd64
     uses: ./.github/workflows/ci_webui_e2e_playwright.yml
     with:
       image: ghcr.io/rspamd/rspamd-build-docker:ubuntu-ci
-      name: ubuntu-ci
+      name: ubuntu-ci-amd64
index fb0466cb79df78cb05ebd549ee49313098b3c0b8..1486ea28dfc62a05b361276fd695a873f6bb2424 100644 (file)
@@ -9,6 +9,9 @@ on:
       name:
         required: true
         type: string
+      runner:
+        type: string
+        default: 'ubuntu-24.04'
 
 env:
   CTEST_OUTPUT_ON_FAILURE: 1
@@ -16,7 +19,7 @@ env:
 
 jobs:
   test:
-    runs-on: [ "ubuntu-latest" ]
+    runs-on: "${{ inputs.runner }}"
     container:
       image: ${{ inputs.image }}
       options: --user root
@@ -94,7 +97,7 @@ jobs:
           retention-days: 1
 
       - name: Upload built rspamd
-        if: inputs.name == 'ubuntu-ci'
+        if: inputs.name == 'ubuntu-ci-amd64'
         uses: actions/upload-artifact@v4
         with:
           name: rspamd-binary-${{ inputs.name }}
index b214fcee0b7665f39828432aafcc88f9eee9a507..0241ad50e1ddabb5261a38a886a15909d32e5374 100644 (file)
@@ -43,7 +43,7 @@ jobs:
       - name: Download rspamd binary from build job
         uses: actions/download-artifact@v4
         with:
-          name: rspamd-binary-ubuntu-ci
+          name: rspamd-binary-${{ inputs.name }}
           path: ${{ env.PREFIX }}
 
       - name: Prepare rspamd configuration