File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed
Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99jobs :
10+ build_streamter :
11+ name : Build MIDAS:native_hilsim_streamer
12+ runs-on : ubuntu-latest
13+ defaults :
14+ run :
15+ working-directory : MIDAS
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Cache pip
19+ uses : actions/cache@v3
20+ with :
21+ path : ~/.cache/pip
22+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
23+ restore-keys : |
24+ ${{ runner.os }}-pip-
25+ - name : Cache PlatformIO
26+ uses : actions/cache@v3
27+ with :
28+ path : ~/.platformio
29+ key : ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}
30+ restore-keys : |
31+ ${{ runner.os }}-pio-
32+ - name : Set up Python
33+ uses : actions/setup-python@v4
34+ with :
35+ python-version : ' 3.11'
36+ - name : Install PlatformIO
37+ run : |
38+ python -m pip install --upgrade pip
39+ pip install --upgrade platformio
40+ - name : PlatformIO version
41+ run : pio --version
42+ - name : Build native_hilsim_streamer
43+ run : pio run -e native_hilsim_streamer
44+ - name : Upload Artifact for native_hilsim_streamer
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : executable-native_hilsim_streamer
48+ path : MIDAS/.pio/build/native_hilsim_streamer/program*.*
49+
50+
1051 build_sustainer :
1152 name : Build MIDAS:mcu_hilsim_sustainer
1253 runs-on : ubuntu-latest
89130
90131 notify :
91132 name : Slack Notification (main)
92- needs : [build_sustainer, build_booster]
133+ needs : [build_streamer, build_sustainer, build_booster]
93134 runs-on : ubuntu-latest
94135 if : github.ref == 'refs/heads/main'
95136 steps :
You can’t perform that action at this time.
0 commit comments