Skip to content

Commit 0089856

Browse files
committed
ci: Add arm integration test
Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent a7d8b80 commit 0089856

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/integration.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ jobs:
88
strategy:
99
matrix:
1010
test_os: [fedora-42]
11+
test_arch: [ubuntu-latest, ubuntu-24.04-arm]
1112

12-
runs-on: ubuntu-latest
13+
runs-on: ${{ matrix.test_arch }}
1314

1415
steps:
1516
- name: Install podman for heredoc support
@@ -33,14 +34,14 @@ jobs:
3334
- name: Archive bootc disk image - disk.raw
3435
uses: actions/upload-artifact@v4
3536
with:
36-
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-disk
37+
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.test_arch }}-disk
3738
path: /tmp/tmp-bootc-build/disk.raw
3839
retention-days: 1
3940

4041
- name: Archive SSH private key - id_rsa
4142
uses: actions/upload-artifact@v4
4243
with:
43-
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-id_rsa
44+
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.test_arch }}-id_rsa
4445
path: /tmp/tmp-bootc-build/id_rsa
4546
retention-days: 1
4647

@@ -49,9 +50,10 @@ jobs:
4950
strategy:
5051
matrix:
5152
test_os: [fedora-42]
53+
test_arch: [ubuntu-latest, ubuntu-24.04-arm]
5254
tmt_plan: [test-01-readonly, test-20-local-upgrade, test-21-logically-bound-switch, test-22-logically-bound-install, test-23-install-outside-container, test-24-local-upgrade-reboot]
5355

54-
runs-on: ubuntu-latest
56+
runs-on: ${{ matrix.test_arch }}
5557

5658
steps:
5759
- uses: actions/checkout@v4
@@ -68,13 +70,13 @@ jobs:
6870
- name: Download disk.raw
6971
uses: actions/download-artifact@v4
7072
with:
71-
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-disk
73+
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.test_arch }}-disk
7274
path: /tmp/tmp-bootc-build
7375

7476
- name: Download id_rsa
7577
uses: actions/download-artifact@v4
7678
with:
77-
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-id_rsa
79+
name: PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.test_arch }}-id_rsa
7880
path: /tmp/tmp-bootc-build
7981

8082
- name: Enable KVM group perms
@@ -93,5 +95,5 @@ jobs:
9395
if: always()
9496
uses: actions/upload-artifact@v4
9597
with:
96-
name: tmt-log-PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.tmt_plan }}
98+
name: tmt-log-PR-${{ github.event.number }}-${{ matrix.test_os }}-${{ matrix.test_arch }}-${{ matrix.tmt_plan }}
9799
path: /var/tmp/tmt

0 commit comments

Comments
 (0)