Skip to content

Commit

Permalink
Update the build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Jan 28, 2024
1 parent 08a48c0 commit 305ea72
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ on:
- main

jobs:
macos:
name: macOS
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
with: {submodules: true}
- name: Run the test suite
uses: actions-rs/cargo@v1
with: {command: test, args: --features=bundled --verbose}
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable, components: "clippy, rustfmt"}
- run: cargo clippy -- -D warnings
- run: cargo fmt --all -- --check

ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
with: {submodules: true}
- name: Run the test suite
uses: actions-rs/cargo@v1
with: {command: test, args: --features=bundled --verbose}
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- run: cargo test
- run: cargo test --features bundled

0 comments on commit 305ea72

Please sign in to comment.