Skip to content

Commit b29019c

Browse files
committed
mega-melt: install needed native packages
Some components require certain native libraries to be present in order to function. We would prefer to test these components, so let's install the libraries they crave. This also means we can test n5-blosc now.
1 parent 72a6816 commit b29019c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/setup.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/ci-setup-github-actions.sh
33
sh ci-setup-github-actions.sh
44

5-
# xmllint needed for melting pot
6-
sudo apt-get install libxml2-utils
5+
# Install needed packages.
6+
pkgs="libxml2-utils" # needed for melting pot
7+
pkgs="$pkgs libxcb-shape0" # org.janelia:H5J_Loader_Plugin (fiji/H5J_Loader_Plugin@d026a1bb)
8+
pkgs="$pkgs libgtk2.0-0" # net.imagej:imagej-opencv (imagej/imagej-opencv@21113e08)
9+
pkgs="$pkgs libblosc1" # org.janelia.saalfeldlab:n5-blosc
10+
sudo apt-get -y install $(echo "$pkgs")

tests/run.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ chmod +x "$meltScript" ||
172172
# Request ID: null; S3 Extended Request ID: null; Proxy: null)
173173
echo "org.janelia.saalfeldlab/n5-aws-s3" > "$skipTestsFile" &&
174174

175-
# java.lang.UnsatisfiedLinkError: Unable to load library 'blosc'
176-
echo "org.janelia.saalfeldlab/n5-blosc" >> "$skipTestsFile" &&
177-
echo "org.janelia.saalfeldlab/n5-zarr" >> "$skipTestsFile" &&
178-
179175
# Error while checking the CLIJ2 installation: null
180176
echo "sc.fiji/labkit-pixel-classification" >> "$skipTestsFile" ||
181177
die "Failed to generate $skipTestsFile"

0 commit comments

Comments
 (0)