-
Notifications
You must be signed in to change notification settings - Fork 70
75 lines (70 loc) · 1.82 KB
/
xfstests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: xfstests
on:
push:
branches: '*'
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
xfstests_on_passthrough:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build passthrough binary
run: |
cd tests/passthrough
cargo build --release
sudo install -t /usr/sbin/ -m 700 ./target/release/passthrough
- name: Setup and run xfstest
run: |
cd $GITHUB_WORKSPACE
sudo ./tests/scripts/xfstests_pathr.sh
xfstests_on_overlayfs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build overlay binary
run: |
cd tests/overlay
cargo build --release
sudo install -t /usr/sbin/ -m 700 ./target/release/overlay
- name: Setup and run xfstest
run: |
cd $GITHUB_WORKSPACE
sudo ./tests/scripts/xfstests_overlay.sh
unionmount_testsuite_on_overlayfs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build overlay binary
run: |
cd tests/overlay
cargo build --release
sudo install -t /usr/sbin/ -m 700 ./target/release/overlay
- name: Setup and run unionmount testsuite
run: |
cd $GITHUB_WORKSPACE
sudo ./tests/scripts/unionmount_test_overlay.sh