Skip to content

Commit

Permalink
Merge pull request #3 from radumarias/patch-1
Browse files Browse the repository at this point in the history
Create ci.yaml
  • Loading branch information
Eyob94 authored Sep 8, 2024
2 parents d99cfa8 + aa18627 commit 9b62576
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0 # TODO: remove this when we cache the builds
RUSTFLAGS: "-Dwarnings"

jobs:
ci:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4

- name: Setup Rust
run: rustup update

- name: build
run: cargo build --all --release

- name: check
run: cargo check --all --release

- name: clippy
run: cargo clippy --all-targets --release

- name: doc
run: cargo doc --workspace --all-features --no-deps

- name: test
run: cargo test --release --all-targets
shell: bash

0 comments on commit 9b62576

Please sign in to comment.