Update CI to run build and tests on Macos and Windows in addition to Ubuntu.

We only run Macos and Windows on Rust stable, for efficient CI.
This commit is contained in:
Valentine Wallace 2020-09-17 14:22:55 -04:00
parent b0e9b0107b
commit ce1f4562f5
No known key found for this signature in database
GPG Key ID: F88EC43B95E601B8

View 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