-
Notifications
You must be signed in to change notification settings - Fork 108
76 lines (75 loc) · 3.39 KB
/
manual-on-host.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: Manual workflow on my host
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: install packages
run: |
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep -y partclone
sudo apt-get install -y f2fs-tools hfsprogs exfatprogs gddrescue libfuse-dev jfsutils reiser4progs hfsprogs hfsplus reiserfsprogs
- name: automake
run: ./autogen
- name: configure
run: ./configure --enable-fs-test --enable-feature-test --enable-extfs --enable-ntfs --enable-fat --enable-exfat --enable-hfsp --enable-apfs --enable-btrfs --enable-minix --enable-f2fs --enable-reiser4 --enable-xfs --enable-nilfs2 --enable-fuse
- name: make
run: make
- name: makeTest
run: make check
specialFeatureTest:
runs-on: self-hosted
needs: build
steps:
- name: fuse Test
if: always()
run: cd tests && sudo ./imgfuse.test && cd ../ && pwd
- name: offset Test
if: always()
run: cd tests && sudo ./offset.test && cd ../ && pwd
dataIOTest:
runs-on: self-hosted
needs: build
steps:
- name: btrfs Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test btrfs && cd ../ && pwd
- name: f2fs Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test f2fs && cd ../ && pwd
- name: nilfs2 Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test nilfs2 && cd ../ && pwd
- name: hfsplus Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test hfsplus && cd ../ && pwd
- name: xfs Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test xfs && cd ../ && pwd
- name: ext2 Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test ext2 && cd ../ && pwd
- name: ext3 Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test ext3 && cd ../ && pwd
- name: ext4 Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test ext4 && cd ../ && pwd
- name: vfat Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test vfat && cd ../ && pwd
- name: exfat Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test exfat && cd ../ && pwd
- name: ntfs Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test ntfs && cd ../ && pwd
- name: minix Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test minix && cd ../ && pwd