-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
3,962 additions
and
1,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BasedOnStyle: LLVM # or Google, Mozilla, etc. | ||
IndentWidth: 4 | ||
TabWidth: 4 | ||
UseTab: Never # Ensures spaces instead of tabs are used | ||
BreakBeforeBraces: Attach # Optional, adjust brace style | ||
AllowShortFunctionsOnASingleLine: Empty | ||
ColumnLimit: 100 # Adjust if desired |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Generate doxygen docs and deploy to github pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
|
||
gen_docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Generate docs | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
doxyfile-path: 'Doxyfile' | ||
|
||
|
||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install -y graphviz | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./html # Set this to the Doxygen output directory | ||
keep_files: false # Set to true to keep files that are not in the Doxygen output directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Unit Tests | ||
|
||
on: | ||
push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: cachix/install-nix-action@v29 | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: hytech-racing/drivebrain_software | ||
ref: ${{ github.ref }} | ||
|
||
- name: Build and test | ||
run: | | ||
nix develop --command bash -c 'mkdir -p build && cd build && cmake .. && make -j && ctest --output-on-failure' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ result-dev | |
result-dev/ | ||
*.mcap | ||
core.* | ||
result-man/ | ||
result-man | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.