Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dockerfile #38

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Rust CI

on:
push:
branches:
- main
- Develop
pull_request:
branches:
- main
- Develop

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Setup Rust
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Python and Pip
run: sudo apt-get install python3 python3-pip
- name: Install ruamel.yaml
run: pip install "ruamel.yaml<0.18.0"
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
- name: Clippy
run: cargo clippy --verbose -- -D warnings
- name: Audit
run: cargo audit
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# misc things
.DS_Store
.gitignore
*.nix

# python things
pyrightconfig.json
Expand All @@ -16,3 +17,5 @@ __pycache__/
build/
dist/
logs/
master_mapping.rs
decode_data.rs
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Embedded-Base"]
path = Embedded-Base
url = https://github.com/Northeastern-Electric-Racing/Embedded-Base.git
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
]
}
Loading
Loading