Skip to content

Commit 91f1228

Browse files
authored
Add zip as a dependency on Linux distributions (#451)
On Linux, Swift Testing uses the zip package/tool to compress directories when they are recorded as test attachments. Issue: #450
1 parent 1caf9e9 commit 91f1228

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Sources/LinuxPlatform/Linux.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,15 @@ public struct Linux: Platform {
9797
"tzdata",
9898
"git",
9999
"unzip",
100+
"zip",
100101
"pkg-config",
101102
]
102103
case "ubuntu2004":
103104
[
104105
"binutils",
105106
"git",
106107
"unzip",
108+
"zip",
107109
"gnupg2",
108110
"libc6-dev",
109111
"libcurl4-openssl-dev",
@@ -123,6 +125,7 @@ public struct Linux: Platform {
123125
"binutils",
124126
"git",
125127
"unzip",
128+
"zip",
126129
"gnupg2",
127130
"libc6-dev",
128131
"libcurl4-openssl-dev",
@@ -143,6 +146,7 @@ public struct Linux: Platform {
143146
"binutils",
144147
"git",
145148
"unzip",
149+
"zip",
146150
"gnupg2",
147151
"libc6-dev",
148152
"libcurl4-openssl-dev",
@@ -164,6 +168,7 @@ public struct Linux: Platform {
164168
"gcc",
165169
"git",
166170
"unzip",
171+
"zip",
167172
"glibc-static",
168173
"gzip",
169174
"libbsd",
@@ -200,6 +205,7 @@ public struct Linux: Platform {
200205
"gcc",
201206
"git",
202207
"unzip",
208+
"zip",
203209
"libcurl-devel",
204210
"libedit-devel",
205211
"libicu-devel",
@@ -226,6 +232,8 @@ public struct Linux: Platform {
226232
"git",
227233
"gcc",
228234
"libstdc++-12-dev",
235+
"unzip",
236+
"zip",
229237
]
230238
default:
231239
[]

0 commit comments

Comments
 (0)