@@ -7,102 +7,73 @@ permissions:
7
7
contents : read
8
8
9
9
jobs :
10
- fuse2 :
11
- name : FUSE2
10
+ testsuite-hosted :
11
+ name : Test suite (x86_64)
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
15
compiler :
16
16
- gcc
17
17
- clang
18
+ fuse :
19
+ - fuse
20
+ - fuse3
18
21
os :
19
- - ubuntu-20.04
20
22
- ubuntu-22.04
23
+ - ubuntu-24.04
21
24
runs-on : ${{ matrix.os }}
22
25
steps :
23
26
- name : Checkout code
24
27
uses : actions/checkout@v2
25
28
26
- - name : Install dependencies
27
- run : |
28
- sudo apt-get update -qq
29
- sudo apt-get install -qq gcc clang
30
- sudo apt-get install -qq libfuse-dev uuid-runtime
31
- sudo apt-get install -qq python3 python3-setuptools
32
- sudo pip3 install meson==0.55.1 ninja
33
-
34
- - name : Compiler version
35
- env :
36
- CC : ${{ matrix.compiler }}
37
- run : |
38
- ${CC} --version
29
+ - uses : ./.github/actions/testsuite
30
+ with :
31
+ compiler : ${{ matrix.compiler }}
32
+ fuse : ${{ matrix.fuse }}
33
+ os : ${{ matrix.os }}
39
34
40
- - name : Build
41
- env :
42
- CC : ${{ matrix.compiler }}
43
- run : |
44
- meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
45
- meson compile -C build
46
- - name : Test
47
- env :
48
- CC : ${{ matrix.compiler }}
49
- run : |
50
- echo 1 | sudo tee /sys/fs/cgroup/cpuset/cgroup.clone_children || true
51
- sudo -E PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" build/tests/main.sh
52
-
53
- fuse3 :
54
- name : FUSE3
35
+ testsuite-self-hosted :
36
+ name : Test suite (aarch64)
55
37
strategy :
56
38
fail-fast : false
57
39
matrix :
58
40
compiler :
59
41
- gcc
60
42
- clang
43
+ fuse :
44
+ - fuse
45
+ - fuse3
61
46
os :
62
- - ubuntu-20.04
63
47
- ubuntu-22.04
64
- runs-on : ${{ matrix.os }}
48
+ - ubuntu-24.04
49
+ runs-on :
50
+ - self-hosted
51
+ - cpu-4
52
+ - mem-4G
53
+ - disk-50G
54
+ - arch-arm64
55
+ - image-${{ matrix.os }}
65
56
steps :
66
57
- name : Checkout code
67
58
uses : actions/checkout@v2
68
59
69
- - name : Install dependencies
70
- run : |
71
- sudo add-apt-repository universe
72
- sudo apt-get update -qq
73
- sudo apt-get install -qq gcc clang
74
- sudo apt-get install -qq libfuse3-dev uuid-runtime
75
- sudo apt-get install -qq python3 python3-setuptools
76
- sudo pip3 install meson==0.55.1 ninja
60
+ - uses : ./.github/actions/testsuite
61
+ with :
62
+ compiler : ${{ matrix.compiler }}
63
+ fuse : ${{ matrix.fuse }}
64
+ os : ${{ matrix.os }}
77
65
78
- - name : Compiler version
79
- env :
80
- CC : ${{ matrix.compiler }}
81
- run : |
82
- ${CC} --version
83
-
84
- - name : Build
85
- env :
86
- CC : ${{ matrix.compiler }}
87
- run : |
88
- meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
89
- meson compile -C build
90
- - name : Test
91
- env :
92
- CC : ${{ matrix.compiler }}
93
- run : |
94
- echo 1 | sudo tee /sys/fs/cgroup/cpuset/cgroup.clone_children || true
95
- sudo -E PATH="${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" build/tests/main.sh
96
-
97
- live-upgrade-compatibility :
98
- name : Live upgrade test
66
+ upgrade-test :
67
+ name : Upgrade test
99
68
strategy :
100
69
fail-fast : false
101
70
matrix :
102
71
compiler :
103
72
- gcc
73
+ fuse :
74
+ - fuse3
104
75
os :
105
- - ubuntu-22 .04
76
+ - ubuntu-24 .04
106
77
branch :
107
78
- stable-5.0
108
79
- stable-6.0
@@ -112,27 +83,11 @@ jobs:
112
83
- name : Checkout code
113
84
uses : actions/checkout@v2
114
85
115
- - name : Install dependencies
116
- run : |
117
- sudo add-apt-repository universe
118
- sudo apt-get update -qq
119
- sudo apt-get install -qq gcc clang
120
- sudo apt-get install -qq libfuse3-dev uuid-runtime
121
- sudo apt-get install -qq python3 python3-setuptools
122
- sudo pip3 install meson==0.55.1 ninja
123
-
124
- - name : Compiler version
125
- env :
126
- CC : ${{ matrix.compiler }}
127
- run : |
128
- ${CC} --version
129
-
130
- - name : Build PR head version
131
- env :
132
- CC : ${{ matrix.compiler }}
133
- run : |
134
- meson setup -Ddocs=false -Dtests=true -Dinit-script=systemd -Dprefix=/usr -Db_sanitize=address,undefined build/
135
- meson compile -C build
86
+ - uses : ./.github/actions/build
87
+ with :
88
+ compiler : ${{ matrix.compiler }}
89
+ fuse : ${{ matrix.fuse }}
90
+ os : ${{ matrix.os }}
136
91
137
92
- name : Build upstream head version
138
93
env :
0 commit comments