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:
parent
51d2888b52
commit
baa5954724
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -125,8 +125,7 @@ jobs:
|
||||||
|
|
||||||
- name: Make pinetime-mcuboot-app
|
- name: Make pinetime-mcuboot-app
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cmake --build build --target pinetime-mcuboot-app
|
||||||
ninja pinetime-mcuboot-app
|
|
||||||
|
|
||||||
- name: Unzip DFU package
|
- name: Unzip DFU package
|
||||||
run: |
|
run: |
|
||||||
|
@ -144,8 +143,7 @@ jobs:
|
||||||
|
|
||||||
- name: Make pinetime-app
|
- name: Make pinetime-app
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cmake --build build --target pinetime-app
|
||||||
ninja pinetime-app
|
|
||||||
|
|
||||||
- name: Upload standalone firmware
|
- name: Upload standalone firmware
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
@ -158,8 +156,7 @@ jobs:
|
||||||
|
|
||||||
- name: Make pinetime-recovery
|
- name: Make pinetime-recovery
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cmake --build build --target pinetime-recovery
|
||||||
ninja pinetime-recovery
|
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
# Finish
|
# Finish
|
||||||
|
|
Loading…
Reference in a new issue