Skip to content

Commit 220ee71

Browse files
committed
ci: Use package option to build test binary
After the workspace change, we can use package option to build those test binaries to accommodate workspace change. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent bec78d3 commit 220ee71

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/xfstests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
override: true
2525
- name: Build passthrough binary
2626
run: |
27-
cd tests/passthrough
28-
cargo build --release
27+
cargo build --release -p passthrough
2928
sudo install -t /usr/sbin/ -m 700 ./target/release/passthrough
3029
- name: Setup and run xfstest
3130
run: |
@@ -45,8 +44,7 @@ jobs:
4544
override: true
4645
- name: Build overlay binary
4746
run: |
48-
cd tests/overlay
49-
cargo build --release
47+
cargo build --release -p overlay
5048
sudo install -t /usr/sbin/ -m 700 ./target/release/overlay
5149
- name: Setup and run xfstest
5250
run: |
@@ -66,8 +64,7 @@ jobs:
6664
override: true
6765
- name: Build overlay binary
6866
run: |
69-
cd tests/overlay
70-
cargo build --release
67+
cargo build --release -p overlay
7168
sudo install -t /usr/sbin/ -m 700 ./target/release/overlay
7269
- name: Setup and run unionmount testsuite
7370
run: |

0 commit comments

Comments
 (0)