add option -j for make (#372)

This commit is contained in:
rusdacent 2021-03-08 20:29:44 +03:00 committed by GitHub
parent a3b7940baf
commit 3f10ce47f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ jobs:
- name: Build bootloader in docker
uses: ./.github/actions/docker
with:
run: make -C bootloader TARGET=${TARGET_VERSION}
run: make -j$(nproc) -C bootloader TARGET=${TARGET_VERSION}
- name: Generate dfu file for bootloader
uses: ./.github/actions/docker
@ -48,7 +48,7 @@ jobs:
- name: Build firmware in docker
uses: ./.github/actions/docker
with:
run: make -C firmware TARGET=${TARGET_VERSION} APP_RELEASE=1
run: make -j$(nproc) -C firmware TARGET=${TARGET_VERSION} APP_RELEASE=1
- name: Generate dfu file for firmware
uses: ./.github/actions/docker