diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a632a5e37..37d628655 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -50,14 +50,12 @@ jobs: - name: Build env: V: 1 - run: make + run: make -j$((`sysctl -n hw.ncpu` + 1)) - name: Test run: make check macos-make-btaddon: - if: always() - needs: [macos-make] runs-on: macos-latest steps: @@ -93,14 +91,12 @@ jobs: env: V: 1 PLATFORM_EXTRAS: BTADDON - run: make + run: make -j$((`sysctl -n hw.ncpu` + 1)) - name: Test run: make check macos-cmake: - if: always() - needs: [macos-make, macos-make-btaddon] runs-on: macos-latest steps: @@ -144,7 +140,7 @@ jobs: - name: Build env: VERBOSE: 1 - run: make + run: make -j$((`sysctl -n hw.ncpu` + 1)) working-directory: client/build/ - name: Test diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 9887be49f..d81ea5db2 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -41,14 +41,12 @@ jobs: - name: Build env: V: 1 - run: make + run: make -j$((`nproc` + 1)) - name: Test run: make check ubuntu-make-btaddon: - if: always() - needs: [ubuntu-make] runs-on: ubuntu-latest steps: @@ -74,14 +72,12 @@ jobs: env: V: 1 PLATFORM_EXTRAS: BTADDON - run: make + run: make -j$((`nproc` + 1)) - name: Test run: make check ubuntu-cmake: - if: always() - needs: [ubuntu-make, ubuntu-make-btaddon] runs-on: ubuntu-latest steps: @@ -115,7 +111,7 @@ jobs: - name: Build env: VERBOSE: 1 - run: make + run: make -j$((`nproc` + 1)) working-directory: client/build/ - name: Test diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 3c093f96b..d913a35fc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -54,7 +54,7 @@ jobs: run: make clean - name: Build - run: make V=1 + run: make -j $([System.Environment]::ProcessorCount + 1) V=1 - name: Test run: make check @@ -63,7 +63,7 @@ jobs: run: make clean - name: Build btaddon - run: make V=1 PLATFORM_EXTRAS=BTADDON + run: make -j $([System.Environment]::ProcessorCount + 1) V=1 PLATFORM_EXTRAS=BTADDON - name: Test btaddon run: make check @@ -84,7 +84,7 @@ jobs: working-directory: client/build/ - name: Build cmake - run: make VERBOSE=1 + run: make -j $([System.Environment]::ProcessorCount + 1) VERBOSE=1 working-directory: client/build/ - name: Test cmake @@ -141,7 +141,7 @@ jobs: run: make clean - name: Build - run: make V=1 + run: make -j$((`nproc` + 1)) V=1 - name: Test run: make check @@ -150,7 +150,7 @@ jobs: run: make clean - name: Build btaddon - run: make V=1 PLATFORM_EXTRAS=BTADDON + run: make -j$((`nproc` + 1)) V=1 PLATFORM_EXTRAS=BTADDON - name: Test btaddon run: make check @@ -171,7 +171,7 @@ jobs: working-directory: client/build/ - name: Build cmake - run: make VERBOSE=1 + run: make -j$((`nproc` + 1)) VERBOSE=1 working-directory: client/build/ - name: Test cmake diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eaa9316a..0cb26317e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] + - Changed CI scripts to speed up the builds (@wh201906) - Changed the timeout of local TCP connections (@wh201906) - Finalized implementation of configcard generation for keyroll when cardhelper is not present (@Antiklesys) - Added documentation for compiling on iOS (@The-SamminAter)