Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Adds Rust CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
yorik committed Sep 19, 2023
1 parent babcc98 commit f044633
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Rust CI"
on:
pull_request:

jobs:
build:
name: cargo build and test
# Needs big runner for the test.
runs-on: ubuntu-22.04-github-hosted-16core
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build --verbose
- run: cargo test --verbose --all

formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

0 comments on commit f044633

Please sign in to comment.