File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,13 @@ jobs:
67
67
.replace('lancaster-university/codal-microbit-v2', '${GITHUB_REPOSITORY}') \
68
68
.replace('master', '${GITHUB_SHA}') \
69
69
.replace(',\n \"dev\": true', ''))
70
- f = pathlib.Path('source/main.cpp')
71
- f.write_text(f.read_text().replace('out_of_box_experience()', 'ble_test()'))
72
70
EOF
73
71
echo "coda.json after:"
74
72
cat codal.json
73
+ - name : Move fft example
74
+ run : |
75
+ mv libraries/codal-microbit-v2/samples/fft_example.cpp source/main.cpp
76
+ cat source/main.cpp
75
77
- name : Build using build.py
76
78
run : python build.py
77
79
- name : Save ELF file in a different directory
@@ -117,6 +119,16 @@ jobs:
117
119
cd libraries/codal-microbit-v2
118
120
git checkout ${GIT_BASE_SHA}
119
121
git restore .
122
+ - name : Build the OOB for the parent/base commits
123
+ shell : bash
124
+ run : |
125
+ git checkout source/main.cpp
126
+ python - << EOF
127
+ import pathlib;
128
+ f = pathlib.Path('source/main.cpp')
129
+ f.write_text(f.read_text().replace('out_of_box_experience()', 'ble_test()'))
130
+ EOF
131
+ cat source/main.cpp
120
132
- name : Build 'base' project using build.py
121
133
run : python build.py --clean
122
134
You can’t perform that action at this time.
0 commit comments