Skip to content

Commit

Permalink
More Build System Changes (#1408)
Browse files Browse the repository at this point in the history
### Changelist 
<!-- Give a list of the changes covered in this PR. This will help both
you and the reviewer keep this PR within scope. -->
- fully moves away from C++
- update docker cubemx for quintuna
- cmakefile tweaks

### Testing Done
<!-- Outline the testing that was done to demonstrate the changes are
solid. This could be unit tests, integration tests, testing on the car,
etc. Include relevant code snippets, screenshots, etc as needed. -->

### Resolved Tickets
<!-- Link any tickets that this PR resolves. -->
  • Loading branch information
Lucien950 authored Dec 28, 2024
1 parent 1ce72a4 commit 1341a41
Show file tree
Hide file tree
Showing 147 changed files with 1,494 additions and 1,147 deletions.
59 changes: 49 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,43 @@ jobs:
include:
- board: VC
ioc_dir: firmware/quadruna/VC/src/cubemx
env_version: latest
- board: BMS
ioc_dir: firmware/quadruna/BMS/src/cubemx
env_version: latest
- board: FSM
ioc_dir: firmware/quadruna/FSM/src/cubemx
env_version: latest
- board: RSM
ioc_dir: firmware/quadruna/RSM/src/cubemx
env_version: latest
- board: CRIT
ioc_dir: firmware/quadruna/CRIT/src/cubemx
env_version: latest
- board: f4dev
ioc_dir: firmware/dev/f4dev/src/cubemx
env_version: latest
- board: h7dev
ioc_dir: firmware/dev/h7dev/src/cubemx
env_version: latest
# - board: BMS_Quint
# ioc_dir: firmware/quintuna/BMS/src/cubemx
# env_version: cube_6_12_0
- board: CRIT
ioc_dir: firmware/quintuna/CRIT/src/cubemx
env_version: cube_6_12_0
# - board: FSM_Quint
# ioc_dir: firmware/quintuna/FSM/src/cubemx
# env_version: cube_6_12_0
- board: RSM
ioc_dir: firmware/quintuna/RSM/src/cubemx
env_version: cube_6_12_0
- board: VC
ioc_dir: firmware/quintuna/VC/src/cubemx
env_version: cube_6_12_0

container:
image: ubcformulaelectric/environment:latest
image: ubcformulaelectric/environment:${{ matrix.env_version }}
credentials:
username: ubcformulaelectric
password: ${{ secrets.DOCKER_TOKEN }}
Expand Down Expand Up @@ -89,17 +111,34 @@ jobs:
strategy:
fail-fast: false
matrix:
board:
- quadruna_VC
- quadruna_BMS
- quadruna_FSM
- quadruna_RSM
- quadruna_CRIT
- f4dev
- h7dev
include:
- board: quadruna_VC
env_version: latest
- board: quadruna_BMS
env_version: latest
- board: quadruna_FSM
env_version: latest
- board: quadruna_RSM
env_version: latest
- board: quadruna_CRIT
env_version: latest
- board: f4dev
env_version: latest
- board: h7dev
env_version: latest
# - board: quintuna_BMS
# env_version: cube_6_12_0
- board: quintuna_CRIT
env_version: cube_6_12_0
# - board: quintuna_FSM
# env_version: cube_6_12_0
- board: quintuna_RSM
env_version: cube_6_12_0
- board: quintuna_VC
env_version: cube_6_12_0

container:
image: ubcformulaelectric/environment:latest
image: ubcformulaelectric/environment:${{ matrix.env_version }}
credentials:
username: ubcformulaelectric
password: ${{ secrets.docker_token }}
Expand Down
10 changes: 10 additions & 0 deletions .idea/runConfigurations/Quadruna_CRIT_DEBUG.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations/Quadruna_FSM.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations/Quadruna_FSM_Debug.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quadruna_RSM.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quadruna_RSM_Debug.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quadruna_VC.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quadruna_VC_Debug.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quintuna_CRIT.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions .idea/runConfigurations/Quintuna_CRIT_DEBUG.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1341a41

Please sign in to comment.