Drop windows-latest stable rustc build as it now fails
[ldk-sample] / .github / workflows / build.yml
1 name: Continuous Integration Checks
2
3 on: [push, pull_request]
4
5 jobs:
6   build:
7     strategy:
8       matrix:
9         platform: [ ubuntu-latest, macos-latest, windows-latest ]
10         toolchain: [ stable, 1.48.0 ]
11         include:
12           - toolchain: stable
13             check-fmt: true
14         exclude:
15           - platform: macos-latest
16             toolchain: 1.48.0
17           - platform: windows-latest
18             toolchain: stable
19     runs-on: ${{ matrix.platform }}
20     steps:
21       - name: Checkout source code
22         uses: actions/checkout@v2
23       - name: Install Rust ${{ matrix.toolchain }} toolchain
24         uses: actions-rs/toolchain@v1
25         with:
26           toolchain: ${{ matrix.toolchain }}
27           override: true
28           profile: minimal
29       - name: Build on Rust ${{ matrix.toolchain }}
30         run: cargo build --verbose --color always
31       - name: Check formatting
32         if: matrix.check-fmt
33         run: rustup component add rustfmt && cargo fmt --all -- --check