Update CI to run build and tests on Macos and Windows in addition to Ubuntu.
authorValentine Wallace <vwallace@protonmail.com>
Thu, 17 Sep 2020 18:22:55 +0000 (14:22 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 17 Sep 2020 20:07:39 +0000 (16:07 -0400)
We only run Macos and Windows on Rust stable, for efficient CI.

.github/workflows/build.yml

index 70cc2e48efb77d7e5efcd9f3dfb3d617831c1bc4..c8cdf6660b709b5dfeacceb9f29af8f41c27fc88 100644 (file)
@@ -6,6 +6,7 @@ jobs:
   build:
     strategy:
       matrix:
+        platform: [ ubuntu-latest ]
         toolchain: [ stable,
                      beta,
                      # 1.30.0 is MSRV for Rust-Lightning
@@ -17,12 +18,18 @@ jobs:
         include:
           - toolchain: stable
             build-net-tokio: true
+          - toolchain: stable
+            platform: macos-latest
+            build-net-tokio: true
+          - toolchain: stable
+            platform: windows-latest
+            build-net-tokio: true
           - toolchain: beta
             build-net-tokio: true
           - toolchain: 1.39.0
             build-net-tokio: true
             coverage: true
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.platform }}
     steps:
       - name: Checkout source code
         uses: actions/checkout@v2