]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add CI testing for lightning-custom-message crate
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 2 Feb 2023 03:35:38 +0000 (21:35 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 15 Feb 2023 00:20:56 +0000 (18:20 -0600)
.github/workflows/build.yml

index f729cecc01218fb54839c555c18c64ce36d36395..a8f0aa69d94502caaf8e2e420c85a07821d6555b 100644 (file)
@@ -31,6 +31,8 @@ jobs:
             build-no-std: true
             build-futures: true
             build-tx-sync: true
+          - toolchain: stable
+            test-custom-message: true
           - toolchain: beta
             platform: macos-latest
             build-net-tokio: true
@@ -54,6 +56,8 @@ jobs:
             build-no-std: true
             build-futures: true
             build-tx-sync: true
+          - toolchain: beta
+            test-custom-message: true
           - toolchain: 1.41.1
             build-no-std: false
             test-log-variants: true
@@ -226,6 +230,11 @@ jobs:
           RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client
           RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client,rest-client
           RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client,rest-client,tokio
+      - name: Test Custom Message Macros on Rust ${{ matrix.toolchain }}
+        if: "matrix.test-custom-message"
+        run: |
+          cd lightning-custom-message
+          cargo test --verbose --color always
       - name: Install deps for kcov
         if: matrix.coverage
         run: |