From: Matt Corallo Date: Mon, 9 Aug 2021 04:58:52 +0000 (+0000) Subject: Move release jar comparisons to run before functional tests in CI X-Git-Tag: v0.0.99.2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f445a7e1a72fbf367aea6f83d22f22b892e61b4d;p=ldk-java Move release jar comparisons to run before functional tests in CI --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb394b08..a710f37f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,13 +82,6 @@ jobs: ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11-openjdk-amd64/include/ -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux/" false false - name: Build deterministic release jar run: ./build-release-jar.sh - - name: Run Java Tests against built release jar - run: | - mvn install:install-file -Dfile=ldk-java.jar -DgroupId=org.ldk -DartifactId=ldk-java -Dversion=1.0-SNAPSHOT -Dpackaging=jar - cd javatester - mvn package - java -ea -jar target/ldk-java-tests-1.0-SNAPSHOT-jar-with-dependencies.jar - cd .. - name: Check latest headers are in git run: | git diff --exit-code @@ -111,6 +104,13 @@ jobs: diffoscope ldk-java.jar "${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/ldk-java.jar" exit 1 fi + - name: Run Java Tests against built release jar + run: | + mvn install:install-file -Dfile=ldk-java.jar -DgroupId=org.ldk -DartifactId=ldk-java -Dversion=1.0-SNAPSHOT -Dpackaging=jar + cd javatester + mvn package + java -ea -jar target/ldk-java-tests-1.0-SNAPSHOT-jar-with-dependencies.jar + cd .. android: runs-on: ubuntu-latest