Skip to content

Commit

Permalink
CI: Basic script
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-h committed Jun 27, 2024
1 parent b72bd57 commit ef13a67
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,31 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
build_and_test:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
rust:
- "1.75"
- "stable"

steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install rust ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
- name: Build
run: cargo build
- name: Run tests
run: cargo test -- --nocapture

0 comments on commit ef13a67

Please sign in to comment.