Skip to content

Commit b957b48

Browse files
committed
build jar
1 parent 3ef8f06 commit b957b48

File tree

1 file changed

+35
-27
lines changed

1 file changed

+35
-27
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,38 @@ jobs:
1717
shell: bash
1818

1919
steps:
20-
- uses: actions/checkout@v3
21-
- name: Set up JDK
22-
uses: actions/setup-java@v3
23-
with:
24-
java-version: '8'
25-
distribution: 'temurin'
26-
cache: maven
27-
28-
- name: Download blosc jar
29-
run: |
30-
mkdir -p ../blosc-java/target
31-
curl https://static.webknossos.org/misc/blosc-java-0.1-1.21.4-SNAPSHOT.jar -o ../blosc-java/target/blosc-java-0.1-1.21.4-SNAPSHOT.jar
32-
33-
- name: Download testdata
34-
run: |
35-
mkdir testdata testoutput
36-
curl https://static.webknossos.org/data/zarr_v3/l4_sample.zip -o testdata/l4_sample.zip
37-
cd testdata
38-
unzip l4_sample.zip
39-
40-
- name: Build
41-
run: mvn compile
42-
43-
- name: Test
44-
env:
45-
MAVEN_OPTS: "-Xmx6g"
46-
run: mvn test -DargLine="-Xmx6g"
20+
- uses: actions/checkout@v3
21+
- name: Set up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: '8'
25+
distribution: 'temurin'
26+
cache: maven
27+
28+
- name: Download blosc jar
29+
run: |
30+
mkdir -p ../blosc-java/target
31+
curl https://static.webknossos.org/misc/blosc-java-0.1-1.21.4-SNAPSHOT.jar -o ../blosc-java/target/blosc-java-0.1-1.21.4-SNAPSHOT.jar
32+
33+
- name: Download testdata
34+
run: |
35+
mkdir testdata testoutput
36+
curl https://static.webknossos.org/data/zarr_v3/l4_sample.zip -o testdata/l4_sample.zip
37+
cd testdata
38+
unzip l4_sample.zip
39+
40+
- name: Build
41+
run: mvn compile
42+
43+
- name: Test
44+
env:
45+
MAVEN_OPTS: "-Xmx6g"
46+
run: mvn test -DargLine="-Xmx6g"
47+
48+
- name: Assemble JAR
49+
run: mvn package
50+
51+
- uses: actions/upload-artifact@v3
52+
with:
53+
name: jar
54+
path: target/*.jar

0 commit comments

Comments
 (0)