Use CMake universal build command

Rather than using generator-specific build commands (ex. `make` or `ninja`), the CI build now uses `cmake --build` for a more modern, best practices approach.
This commit is contained in:
Jackson 2021-12-07 15:38:53 -05:00 committed by JF
parent 51d2888b52
commit baa5954724

View File

@ -125,8 +125,7 @@ jobs:
- name: Make pinetime-mcuboot-app
run: |
cd build
ninja pinetime-mcuboot-app
cmake --build build --target pinetime-mcuboot-app
- name: Unzip DFU package
run: |
@ -144,8 +143,7 @@ jobs:
- name: Make pinetime-app
run: |
cd build
ninja pinetime-app
cmake --build build --target pinetime-app
- name: Upload standalone firmware
uses: actions/upload-artifact@v2
@ -158,8 +156,7 @@ jobs:
- name: Make pinetime-recovery
run: |
cd build
ninja pinetime-recovery
cmake --build build --target pinetime-recovery
#########################################################################################
# Finish