Skip to content

Commit 1ac21ca

Browse files
Merge pull request #22 from BioImageTools/open-current-image-in-bdv
Open current image in bdv
2 parents 40d1e52 + 84bfaa5 commit 1ac21ca

20 files changed

Lines changed: 696 additions & 297 deletions

.github/build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
#!/bin/sh
2+
# Start a virtual X server (Xvfb) on display :99.
3+
# This is required for headless environments (like GitHub CI)
4+
# when running tools that require a graphical display.
25
export DISPLAY=:99
36
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
7+
8+
# Install blosc system library
9+
# Required for building/running code that depends on libblosc.
10+
sudo apt-get update
11+
sudo apt-get install -y libblosc-dev
12+
13+
# Download and execute the SciJava CI build script
414
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-build.sh
515
sh ci-build.sh

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
run: |
5353
export DISPLAY=:99
5454
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
55+
sudo apt-get update
56+
sudo apt-get install -y libblosc-dev
5557
mvn -B verify --file pom.xml -Pcoverage sonar:sonar -Dsonar.projectKey=BioImageTools_ome-zarr-fiji-java -Dsonar.organization=bioimagetools
5658
5759
- name: Upload artifacts for subsequent review

0 commit comments

Comments
 (0)