Adjust CI parallelism.

This commit is contained in:
David Given
2022-06-13 23:52:24 +02:00
parent 195c4ca3e5
commit 93821c8991

View File

@@ -12,7 +12,7 @@ jobs:
- name: apt
run: sudo apt update && sudo apt install lua5.3 lua-posix libudev-dev libsqlite3-dev ninja-build protobuf-compiler libwxgtk3.0-gtk3-dev libfmt-dev
- name: make
run: make
run: make -j$(expr $(nproc) + 1)
build-macos:
runs-on: macos-latest
@@ -21,9 +21,9 @@ jobs:
with:
fetch-depth: 1
- name: brew
run: brew install sqlite pkg-config libusb lua ninja protobuf truncate wxwidgets fmt
run: brew install sqlite pkg-config libusb lua ninja protobuf truncate wxwidgets fmt make
- name: make
run: make
run: gmake -j$(expr $(nproc) + 1)
build-windows:
runs-on: windows-latest
@@ -54,7 +54,7 @@ jobs:
fetch-depth: 1
- name: build
run: |
make
make -j$(expr $(nproc) + 1)
- name: zip
run: |