From f445a7e1a72fbf367aea6f83d22f22b892e61b4d Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 9 Aug 2021 04:58:52 +0000 Subject: [PATCH] Move release jar comparisons to run before functional tests in CI --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.39.5