Skip to content

Commit

Permalink
Install required dependencies for test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Jul 31, 2024
1 parent 8e444a5 commit 16cfefe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,34 @@ jobs:
image=moby/buildkit:master
network=host
- name: Install test dependencies
run: |
set -euxo pipefail
sudo apt-get update
sudo apt-get install -y \
zip \
xz-utils \
lz4 \
gzip \
lzop \
zstd \
bzip2 \
libarchive-tools \
xorriso \
pax
curl -L "https://www.rarlab.com/rar/rarlinux-x64-701.tar.gz" \
| tar -czf- -C "${HOME}"
mv "${HOME}/rar"/{rar,unrar} /usr/bin
mv "${HOME}/rar/default.sfx" /usr/lib/default.sfx
curl -L "https://www.7-zip.org/a/7z2407-linux-x64.tar.xz" \
| tar -xJf- -C "$HOME"
mv "$HOME"/{7zz,7zzs} /usr/bin
- name: Build and test archive-wasm
run: |
set -euxo pipefail
Expand Down

0 comments on commit 16cfefe

Please sign in to comment.