Build mcuboot first
This commit is contained in:
parent
724758a13b
commit
606bdfeed4
34
.github/workflows/main2.yml
vendored
34
.github/workflows/main2.yml
vendored
@ -69,26 +69,10 @@ jobs:
|
|||||||
- name: CMake
|
- name: CMake
|
||||||
run: mkdir -p build && cd build && cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=${{ runner.temp }}/arm-none-eabi -DNRF5_SDK_PATH=${{ runner.temp }}/nrf5_sdk -DUSE_OPENOCD=1 ../
|
run: mkdir -p build && cd build && cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=${{ runner.temp }}/arm-none-eabi -DNRF5_SDK_PATH=${{ runner.temp }}/nrf5_sdk -DUSE_OPENOCD=1 ../
|
||||||
|
|
||||||
- name: Make pinetime-app
|
|
||||||
# For Debugging Builds: Remove "make" option "-j" for clearer output. Add "--trace" to see details.
|
|
||||||
# For Faster Builds: Add "make" option "-j"
|
|
||||||
run: cd build && make pinetime-app
|
|
||||||
|
|
||||||
- name: Make pinetime-mcuboot-app
|
- name: Make pinetime-mcuboot-app
|
||||||
run: cd build && make pinetime-mcuboot-app
|
run: cd build && make pinetime-mcuboot-app
|
||||||
|
|
||||||
- name: Find output
|
- name: Upload pinetime-mcuboot-app
|
||||||
run: find . -name "pinetime-app.*" -ls ; find . -name "pinetime-mcuboot-app.*" -ls
|
|
||||||
|
|
||||||
- name: Upload built firmware pinetime-app
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
# Artifact name (optional)
|
|
||||||
name: pinetime-app.out
|
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
|
||||||
path: build/src/pinetime-app.out
|
|
||||||
|
|
||||||
- name: Upload built firmware pinetime-mcuboot-app
|
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
# Artifact name (optional)
|
# Artifact name (optional)
|
||||||
@ -96,5 +80,21 @@ jobs:
|
|||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: build/src/pinetime-mcuboot-app.bin
|
path: build/src/pinetime-mcuboot-app.bin
|
||||||
|
|
||||||
|
- name: Make pinetime-app
|
||||||
|
# For Debugging Builds: Remove "make" option "-j" for clearer output. Add "--trace" to see details.
|
||||||
|
# For Faster Builds: Add "make" option "-j"
|
||||||
|
run: cd build && make pinetime-app
|
||||||
|
|
||||||
|
- name: Upload pinetime-app
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
# Artifact name (optional)
|
||||||
|
name: pinetime-app.out
|
||||||
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
|
path: build/src/pinetime-app.out
|
||||||
|
|
||||||
|
- name: Find output
|
||||||
|
run: find . -name "pinetime-app.*" -ls ; find . -name "pinetime-mcuboot-app.*" -ls
|
||||||
|
|
||||||
# Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds.
|
# Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds.
|
||||||
# So make sure that the first build always succeeds, e.g. comment out the "Make" step.
|
# So make sure that the first build always succeeds, e.g. comment out the "Make" step.
|
||||||
|
Loading…
Reference in New Issue
Block a user