]> git.bitcoin.ninja Git - ldk-java/commitdiff
Print version stuff before runs
authorMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 17:49:38 +0000 (13:49 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Mar 2021 18:05:37 +0000 (14:05 -0400)
.github/workflows/build.yml

index 5cd8c784e9461fbdf3fe4c23ddedb76af7712c1b..83a351478722aed72c9b339cf0f6900967345525 100644 (file)
@@ -22,6 +22,9 @@ jobs:
         run: cargo install --force cbindgen
       - name: Checkout Rust-Lightning and LDK-C-Bindings git
         run: |
+          dpkg -l
+          cargo --version --verbose
+          rustc --version --verbose
           git clone https://github.com/rust-bitcoin/rust-lightning
           cd rust-lightning
           git remote add matt https://git.bitcoin.ninja/rust-lightning
@@ -33,14 +36,14 @@ jobs:
           sed -i 's|# Now cd to lightning-c-bindings, build the generated bindings, and call cbindgen to build a C header file|export RUSTFLAGS="--remap-path-prefix $LIGHTNING_PATH=rust-lightning --remap-path-prefix $HOME/.cargo= -Z no-parallel-llvm"\nexport RUSTC_BOOTSTRAP=1|' genbindings.sh
           cd ..
       - name: Rebuild C bindings, and check the sample app builds + links
-        run: cd ldk-c-bindings && ./genbindings.sh ../rust-lightning && cd ..
+        run: cd ldk-c-bindings && export SOURCE_DATE_EPOCH=1616474792 && ./genbindings.sh ../rust-lightning && cd ..
       - name: Upload builds to compare 0
         uses: actions/upload-artifact@v2
         with:
           name: c_bindings
           path: ldk-c-bindings/lightning-c-bindings/target/release/libldk.a
       - name: Build Java/TS Debug Bindings
-        run: ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11-openjdk-amd64/include/ -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux/" true false
+        run: export SOURCE_DATE_EPOCH=1616474792 && ./genbindings.sh ./ldk-c-bindings/ "-I/usr/lib/jvm/java-11-openjdk-amd64/include/ -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux/" true false
       - name: Run Java Tests against Debug Bindings
         run: |
           rm liblightningjni.so
@@ -51,7 +54,7 @@ jobs:
           mvn test
           git checkout liblightningjni.so
       - name: Build Java/TS Release Bindings
-        run: ./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
+        run: export SOURCE_DATE_EPOCH=1616474792 && ./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: Upload builds to compare
         uses: actions/upload-artifact@v2
         with: