Merge pull request #8 from felipecrv/bump-windows-sys #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: { branches: "main" } | |
| pull_request: { branches: "*" } | |
| jobs: | |
| check-fmt: | |
| name: Check formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - run: cargo fmt -- --check | |
| linux: | |
| name: Build and test on Linux | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| windows: | |
| name: Build and test on Windows | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| macos: | |
| name: Build and test on macOS | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose |