Skip to content

Commit

Permalink
Merge pull request #30 from rpl-cmu/dev
Browse files Browse the repository at this point in the history
v0.2.0
  • Loading branch information
contagon authored Jan 14, 2025
2 parents 5ddd33b + fe07b5b commit 3cb47ff
Show file tree
Hide file tree
Showing 82 changed files with 28,886 additions and 2,683 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: ci

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]

env:
CARGO_TERM_COLOR: always

# Loosely based on
# https://github.com/nushell/nushell/blob/8771872d861eeb94eec63051cb4938f6306d1dcd/.github/workflows/ci.yml
# https://www.reillywood.com/blog/rust-faster-ci/
jobs:
fmt-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.83
components: rustfmt,clippy

- name: cargo fmt
run: cargo fmt --all -- --check

- name: clippy
run: cargo clippy
- name: clippy of tests
run: cargo clippy --tests

tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: 1.83

- name: default
run: cargo test
- name: serde
run: cargo test --features serde
- name: f32
run: cargo test --features f32
- name: left
run: cargo test --features left
- name: fake_exp
run: cargo test --features fake_exp
18 changes: 0 additions & 18 deletions .github/workflows/rust.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/target
/build
.vscode
*.g2o
*.svg
*.png
*.sh
perf*
perf*

factrs-proc/target
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "factrs-typetag"]
path = factrs-typetag
url = git@github.com:contagon/factrs-typetag.git
Loading

0 comments on commit 3cb47ff

Please sign in to comment.