diff options
| author | Lee Lup Yuen <luppy@appkaki.com> | 2020-07-27 15:43:12 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 15:43:12 (GMT) |
| commit | 606bdfeed4a8211dce99f9dbdab088d70b12f7d8 (patch) | |
| tree | 65c423674686da5e34578bfffc328b6b6bb0448c | |
| parent | 724758a13b82ed9c1abd8aa911b9dce3dbfe1665 (diff) | |
Build mcuboot first
| -rw-r--r-- | .github/workflows/main2.yml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index 68ac5e6..c8ad377 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -69,32 +69,32 @@ jobs: - 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 ../ - - 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 run: cd build && make pinetime-mcuboot-app - - name: Find output - run: find . -name "pinetime-app.*" -ls ; find . -name "pinetime-mcuboot-app.*" -ls - - - name: Upload built firmware pinetime-app + - name: Upload pinetime-mcuboot-app uses: actions/upload-artifact@v2 with: # Artifact name (optional) - name: pinetime-app.out + name: pinetime-mcuboot-app.bin # A file, directory or wildcard pattern that describes what to upload - path: build/src/pinetime-app.out + path: build/src/pinetime-mcuboot-app.bin - - name: Upload built firmware pinetime-mcuboot-app + - 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-mcuboot-app.bin + name: pinetime-app.out # A file, directory or wildcard pattern that describes what to upload - path: build/src/pinetime-mcuboot-app.bin + 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. # So make sure that the first build always succeeds, e.g. comment out the "Make" step. |
