From: Matt Corallo Date: Tue, 23 Mar 2021 17:49:38 +0000 (-0400) Subject: Print version stuff before runs X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8629c845771f7ba77d42b13f05ae7bd7cc9cb74e;p=ldk-java Print version stuff before runs --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cd8c784..83a35147 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: