]> git.bitcoin.ninja Git - ldk-java/commitdiff
Upload OSX CI builds for analysis to debug nondeterminism
authorMatt Corallo <git@bluematt.me>
Thu, 14 Apr 2022 02:50:16 +0000 (02:50 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Apr 2022 01:48:30 +0000 (01:48 +0000)
.github/workflows/build.yml

index f8399f4ba3a901bb1d6a923c903d282072e410a8..9b0c9ac220d18b4f6349cf509f5ea7697ba04d4c 100644 (file)
@@ -430,6 +430,18 @@ jobs:
             diff "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"liblightningjni_MacOSX-x86_64.nativelib src/main/resources/liblightningjni_MacOSX-x86_64.nativelib || echo
             diff "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"liblightningjni_MacOSX-aarch64.nativelib src/main/resources/liblightningjni_MacOSX-aarch64.nativelib || echo
           fi
+      - name: Upload CI x86_64 build for analysis
+        if: matrix.platform == 'macos-11'
+        uses: actions/upload-artifact@v3.0.0
+        with:
+          name: liblightningjni_MacOSX-x86_64.nativelib.ci-build
+          path: src/main/resources/liblightningjni_MacOSX-x86_64.nativelib
+      - name: Upload CI aarch64 build for analysis
+        if: matrix.platform == 'macos-11'
+        uses: actions/upload-artifact@v3.0.0
+        with:
+          name: liblightningjni_MacOSX-aarch64.nativelib.ci-build
+          path: src/main/resources/liblightningjni_MacOSX-aarch64.nativelib
       - name: Run Java Tests against release bins
         run: |
           if [ "${{ matrix.platform }}" != "macos-11" ]; then