Skip to content

Commit 3b7c9d6

Browse files
committed
github: Use Github Arm runners
Signed-off-by: Stéphane Graber <[email protected]>
1 parent 5d464d1 commit 3b7c9d6

File tree

2 files changed

+15
-65
lines changed

2 files changed

+15
-65
lines changed

.github/actions/testsuite/action.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ permissions:
77
contents: read
88

99
jobs:
10-
testsuite-hosted:
11-
name: Test suite (x86_64)
10+
testsuite:
11+
name: Test suite
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -21,49 +21,30 @@ jobs:
2121
os:
2222
- ubuntu-22.04
2323
- ubuntu-24.04
24+
- ubuntu-22.04-arm
25+
- ubuntu-24.04-arm
2426
runs-on: ${{ matrix.os }}
2527
steps:
2628
- name: Checkout code
2729
uses: actions/checkout@v5
2830

29-
- name: Run the testsuite
30-
uses: ./.github/actions/testsuite
31+
- name: Build LXCFS
32+
uses: ./.github/actions/build
3133
with:
3234
compiler: ${{ matrix.compiler }}
3335
fuse: ${{ matrix.fuse }}
3436
os: ${{ matrix.os }}
3537

36-
testsuite-self-hosted:
37-
name: Test suite (aarch64)
38-
strategy:
39-
fail-fast: false
40-
matrix:
41-
compiler:
42-
- gcc
43-
- clang
44-
fuse:
45-
- fuse
46-
- fuse3
47-
os:
48-
- ubuntu-22.04
49-
- ubuntu-24.04
50-
runs-on:
51-
- self-hosted
52-
- cpu-4
53-
- mem-4G
54-
- disk-50G
55-
- arch-arm64
56-
- image-${{ matrix.os }}
57-
steps:
58-
- name: Checkout code
59-
uses: actions/checkout@v5
38+
- name: Test
39+
env:
40+
CC: ${{ matrix.compiler }}
41+
run: |
42+
echo "::group::Running the testsuite"
6043
61-
- name: Run the testsuite
62-
uses: ./.github/actions/testsuite
63-
with:
64-
compiler: ${{ matrix.compiler }}
65-
fuse: ${{ matrix.fuse }}
66-
os: ${{ matrix.os }}
44+
echo 1 | sudo tee /sys/fs/cgroup/cpuset/cgroup.clone_children || true
45+
sudo -E PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" build/tests/main.sh
46+
47+
echo "::endgroup::"
6748
6849
upgrade-test:
6950
name: Upgrade test

0 commit comments

Comments
 (0)