Skip to content

Commit

Permalink
Add GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Limeth committed Jul 13, 2024
1 parent f84401d commit e0586ee
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Build library
run: cargo build --release
- name: Build executable binary
run: cargo build --release --bin rrr-make --features cmd
- name: Build benchmarks
run: cargo check --benches
- name: Run tests
run: cargo test --release

0 comments on commit e0586ee

Please sign in to comment.