1
- name : 🐧 Linux
1
+ name : 🐧 Linux GUI
2
2
on :
3
3
push :
4
4
pull_request :
9
9
CARGO_TERM_COLOR : always
10
10
11
11
jobs :
12
- linux-default :
12
+ linux-gui :
13
13
strategy :
14
14
matrix :
15
15
toolchain : [ stable, 1.63.0 ]
16
16
type : [ release ]
17
17
runs-on : ubuntu-22.04
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
21
21
- uses : actions-rs/toolchain@v1
22
22
with :
23
23
toolchain : ${{ matrix.toolchain }}
24
24
override : true
25
25
26
- - uses : actions/cache@v2
26
+ - uses : actions/cache@v3
27
27
with :
28
28
path : |
29
29
target
@@ -48,106 +48,28 @@ jobs:
48
48
RUSTFLAGS : " -C debuginfo=0"
49
49
if : ${{ (matrix.type == 'release') && (matrix.toolchain == 'stable') }}
50
50
51
- - name : Store Linux CLI
52
- uses : actions/upload-artifact@v2
53
- with :
54
- name : czkawka_cli-${{ runner.os }}-${{ matrix.toolchain }}
55
- path : target/release/czkawka_cli
56
- if : ${{ matrix.type == 'release' }}
57
-
58
51
- name : Store Linux GUI
59
- uses : actions/upload-artifact@v2
52
+ uses : actions/upload-artifact@v3
60
53
with :
61
54
name : czkawka_gui-${{ runner.os }}-${{ matrix.toolchain }}
62
55
path : target/release/czkawka_gui
63
56
if : ${{ matrix.type == 'release' }}
64
57
65
- # Duplicate finder checks included and excluded directories
66
- # Others are just check delete files number
67
- - name : Linux Regression Test
68
- run : |
69
- wget https://github.com/qarmin/czkawka/releases/download/1.1.0/TestSuite.zip
70
- unzip TestSuite.zip -d TestSuite
71
- python3 misc/check_results.py TestSuite 15 8
72
-
73
-
74
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -D aen -m 1024
75
- python3 misc/check_results.py TestSuite 7 8
76
-
77
- rm -rf TestSuite
78
- unzip TestSuite.zip -d TestSuite
79
-
80
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -D aen -m 1024
81
- python3 misc/check_results.py TestSuite 7 8
82
-
83
- rm -rf TestSuite
84
- unzip TestSuite.zip -d TestSuite
85
-
86
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -x TEXT -D aeo -m 1024
87
- python3 misc/check_results.py TestSuite 14 8
88
-
89
- rm -rf TestSuite
90
- unzip TestSuite.zip -d TestSuite
91
-
92
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -e "$(pwd)/TestSuite/SubFolder" -D aeo -m 1024
93
- python3 misc/check_results.py TestSuite 13 8
94
-
95
- rm -rf TestSuite
96
- unzip TestSuite.zip -d TestSuite
97
-
98
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -m 1500 -D aeo
99
- python3 misc/check_results.py TestSuite 8 8
100
-
101
- rm -rf TestSuite
102
- unzip TestSuite.zip -d TestSuite
103
-
104
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -R -m 1024
105
- python3 misc/check_results.py TestSuite 15 8
106
- target/release/czkawka_cli dup -d "$(pwd)/TestSuite" -R -D aeo -m 1024
107
- python3 misc/check_results.py TestSuite 13 8
108
-
109
-
110
- target/release/czkawka_cli big -d "$(pwd)/TestSuite"
111
-
112
- rm -rf TestSuite
113
- unzip TestSuite.zip -d TestSuite
114
-
115
- target/release/czkawka_cli empty-files -d "$(pwd)/TestSuite"
116
- python3 misc/check_results.py TestSuite 15 8
117
- target/release/czkawka_cli empty-files -d "$(pwd)/TestSuite" -D
118
- python3 misc/check_results.py TestSuite 13 8
119
-
120
- rm -rf TestSuite
121
- unzip TestSuite.zip -d TestSuite
122
-
123
- target/release/czkawka_cli empty-folders -d "$(pwd)/TestSuite"
124
- python3 misc/check_results.py TestSuite 15 8
125
- target/release/czkawka_cli empty-folders -d "$(pwd)/TestSuite" -D
126
- python3 misc/check_results.py TestSuite 15 2
127
-
128
- rm -rf TestSuite
129
- unzip TestSuite.zip -d TestSuite
130
-
131
- target/release/czkawka_cli temp -d "$(pwd)/TestSuite"
132
- python3 misc/check_results.py TestSuite 15 8
133
- target/release/czkawka_cli temp -d "$(pwd)/TestSuite" -D
134
- python3 misc/check_results.py TestSuite 14 8
135
-
136
58
linux-appimage-gui :
137
59
strategy :
138
60
matrix :
139
61
toolchain : [ stable ]
140
62
type : [ release ]
141
63
runs-on : ubuntu-22.04
142
64
steps :
143
- - uses : actions/checkout@v2
65
+ - uses : actions/checkout@v3
144
66
145
67
- uses : actions-rs/toolchain@v1
146
68
with :
147
69
toolchain : ${{ matrix.toolchain }}
148
70
override : true
149
71
150
- - uses : actions/cache@v2
72
+ - uses : actions/cache@v3
151
73
with :
152
74
path : |
153
75
target
177
99
./linuxdeploy-x86_64.AppImage --appdir AppDir --plugin gtk --output appimage --icon-file data/icons/com.github.qarmin.czkawka.svg --desktop-file data/com.github.qarmin.czkawka.desktop
178
100
179
101
- name : Store Linux Appimage GUI
180
- uses : actions/upload-artifact@v2
102
+ uses : actions/upload-artifact@v3
181
103
with :
182
104
name : czkawka_gui-appimage-${{ runner.os }}-${{ matrix.toolchain }}
183
105
path : Czkawka*.AppImage
@@ -194,7 +116,7 @@ jobs:
194
116
mv out/Czkawka*.AppImage out/czkawka_gui-minimal.AppImage
195
117
196
118
- name : Minimal Appimage Upload
197
- uses : actions/upload-artifact@v2
119
+ uses : actions/upload-artifact@v3
198
120
with :
199
121
name : czkawka_gui-${{ matrix.toolchain }}_minimal_AppImage
200
122
path : out/*.AppImage
@@ -206,7 +128,7 @@ jobs:
206
128
type : [ debug ]
207
129
runs-on : ubuntu-22.04
208
130
steps :
209
- - uses : actions/checkout@v2
131
+ - uses : actions/checkout@v3
210
132
211
133
- uses : actions-rs/toolchain@v1
212
134
with :
0 commit comments