Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
093386f
New Kamaji/HIL
mpkarpov-ui Oct 18, 2025
302cedf
Add stream initial
mpkarpov-ui Oct 18, 2025
d5043f0
more stream stuff
mpkarpov-ui Oct 28, 2025
20dcdb5
yay!
mpkarpov-ui Oct 29, 2025
d9170c6
Cleanup
mpkarpov-ui Oct 29, 2025
a7fac12
cleanup v2
mpkarpov-ui Oct 29, 2025
d8eab61
fox
mpkarpov-ui Nov 1, 2025
c35d0a4
fixes from 11/2
mpkarpov-ui Nov 3, 2025
3c5cd39
fix telem backend compile
mpkarpov-ui Nov 3, 2025
81b191b
add first kamaji ci
mpkarpov-ui Nov 3, 2025
c47fd3a
add ident
mpkarpov-ui Nov 4, 2025
e7f98bf
fixup compile on windows
mpkarpov-ui Nov 5, 2025
2de7dec
update kserial
mpkarpov-ui Nov 6, 2025
86218df
improve out
mpkarpov-ui Nov 6, 2025
0f5d2f1
windows compat
mpkarpov-ui Nov 6, 2025
2788883
bad read cerr
mpkarpov-ui Nov 6, 2025
1b9aeaa
stupid stupid stupid
mpkarpov-ui Nov 6, 2025
f6ca521
Update for cameradata
mpkarpov-ui Nov 6, 2025
2143999
fixup file read mode
mpkarpov-ui Nov 6, 2025
486207c
fix outf
mpkarpov-ui Nov 6, 2025
7898384
make S return stdout err
mpkarpov-ui Nov 6, 2025
67634aa
only report .BEGIN on success
mpkarpov-ui Nov 6, 2025
8981810
add ci for native build
mpkarpov-ui Nov 6, 2025
5d20981
fix type
mpkarpov-ui Nov 6, 2025
1c4aa41
fix program ext
mpkarpov-ui Nov 6, 2025
cda5c17
nightmare nightmare nightmare (switched to cygwin c++ compiler) + add…
mpkarpov-ui Nov 6, 2025
694e6dc
edit serialib to work with cygwin
mpkarpov-ui Nov 6, 2025
9ea5785
add flushes
mpkarpov-ui Nov 6, 2025
cd0c507
re-add wait on restart
mpkarpov-ui Nov 6, 2025
d875160
refactor N
mpkarpov-ui Nov 6, 2025
eb47610
add filter, T, and speedup
mpkarpov-ui Nov 7, 2025
5e19b44
add debug
mpkarpov-ui Nov 7, 2025
a750708
asdfasdfas
mpkarpov-ui Nov 7, 2025
745fd9a
stream parity maybe
mpkarpov-ui Nov 7, 2025
2359f73
please just work
mpkarpov-ui Nov 7, 2025
c1e5523
parity baud
mpkarpov-ui Nov 7, 2025
59509bf
make it the same as old streamer
mpkarpov-ui Nov 7, 2025
dd2b8ce
add fsm ability!
mpkarpov-ui Nov 7, 2025
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
148 changes: 148 additions & 0 deletions .github/workflows/kamaji_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
name: Kamaji -- Build HITL Base

on:
push:
branches:
- '**' # Run it on all branches
workflow_dispatch:

jobs:
build_streamer:
name: Build MIDAS:native_hilsim_streamer
runs-on: ubuntu-latest
defaults:
run:
working-directory: MIDAS
steps:
- uses: actions/checkout@v3
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-pio-
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: PlatformIO version
run: pio --version
- name: Build native_hilsim_streamer
run: pio run -e native_hilsim_streamer
- name: Upload Artifact for native_hilsim_streamer
uses: actions/upload-artifact@v4
with:
name: executable-native_hilsim_streamer
path: MIDAS/.pio/build/native_hilsim_streamer/program


build_sustainer:
name: Build MIDAS:mcu_hilsim_sustainer
runs-on: ubuntu-latest
defaults:
run:
working-directory: MIDAS
steps:
- uses: actions/checkout@v3
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-pio-
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: PlatformIO version
run: pio --version
- name: Build mcu_hilsim_sustainer
run: pio run -e mcu_hilsim_sustainer
- name: Upload Artifact for mcu_hilsim_sustainer
uses: actions/upload-artifact@v4
with:
name: firmware-mcu_hilsim_sustainer
path: MIDAS/.pio/build/mcu_hilsim_sustainer/firmware*.*

build_booster:
name: Build MIDAS:mcu_hilsim_booster
runs-on: ubuntu-latest
defaults:
run:
working-directory: MIDAS
steps:
- uses: actions/checkout@v3
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-pio-
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: PlatformIO version
run: pio --version
- name: Build mcu_hilsim_booster
run: pio run -e mcu_hilsim_booster
- name: Upload Artifact for mcu_hilsim_booster
uses: actions/upload-artifact@v4
with:
name: firmware-mcu_hilsim_booster
path: MIDAS/.pio/build/mcu_hilsim_booster/firmware*.*

notify:
name: Slack Notification (main)
needs: [build_streamer, build_sustainer, build_booster]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Send Slack Summary
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: ${{ (needs.build_sustainer.result == 'success' && needs.build_booster.result == 'success') && 'good' || 'danger' }}
SLACK_TITLE: "Kamaji Firmware Build"
SLACK_MESSAGE: |
Build results:
- *MIDAS:mcu_hilsim_sustainer*: ${{ needs.build_sustainer.result }}
- *MIDAS:mcu_hilsim_booster*: ${{ needs.build_booster.result }}

:information_source: CI Notifications only run on the `main` branch.
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
Loading