diff options
author | Jackson <jharmer95@gmail.com> | 2021-12-07 15:38:53 -0500 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2021-12-30 21:43:03 +0100 |
commit | baa5954724a91b81e35812ffd1939438689f3446 (patch) | |
tree | f8671a6b62f9a2f7a1fbdb5dfdc3867f4689b672 /.github/workflows/main.yml | |
parent | 51d2888b52cb5d8563426954ac4b06679314cee5 (diff) |
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.
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ac0611cb..58a63931 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 |