Merge pull request #2128 from wh201906/faster_CI

Faster CI
This commit is contained in:
Iceman 2023-10-14 14:03:20 +02:00 committed by GitHub
commit 3ff426338e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 20 deletions

View file

@ -50,14 +50,12 @@ jobs:
- name: Build - name: Build
env: env:
V: 1 V: 1
run: make run: make -j$((`sysctl -n hw.ncpu` + 1))
- name: Test - name: Test
run: make check run: make check
macos-make-btaddon: macos-make-btaddon:
if: always()
needs: [macos-make]
runs-on: macos-latest runs-on: macos-latest
steps: steps:
@ -93,14 +91,12 @@ jobs:
env: env:
V: 1 V: 1
PLATFORM_EXTRAS: BTADDON PLATFORM_EXTRAS: BTADDON
run: make run: make -j$((`sysctl -n hw.ncpu` + 1))
- name: Test - name: Test
run: make check run: make check
macos-cmake: macos-cmake:
if: always()
needs: [macos-make, macos-make-btaddon]
runs-on: macos-latest runs-on: macos-latest
steps: steps:
@ -144,7 +140,7 @@ jobs:
- name: Build - name: Build
env: env:
VERBOSE: 1 VERBOSE: 1
run: make run: make -j$((`sysctl -n hw.ncpu` + 1))
working-directory: client/build/ working-directory: client/build/
- name: Test - name: Test

View file

@ -41,14 +41,12 @@ jobs:
- name: Build - name: Build
env: env:
V: 1 V: 1
run: make run: make -j$((`nproc` + 1))
- name: Test - name: Test
run: make check run: make check
ubuntu-make-btaddon: ubuntu-make-btaddon:
if: always()
needs: [ubuntu-make]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -74,14 +72,12 @@ jobs:
env: env:
V: 1 V: 1
PLATFORM_EXTRAS: BTADDON PLATFORM_EXTRAS: BTADDON
run: make run: make -j$((`nproc` + 1))
- name: Test - name: Test
run: make check run: make check
ubuntu-cmake: ubuntu-cmake:
if: always()
needs: [ubuntu-make, ubuntu-make-btaddon]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -115,7 +111,7 @@ jobs:
- name: Build - name: Build
env: env:
VERBOSE: 1 VERBOSE: 1
run: make run: make -j$((`nproc` + 1))
working-directory: client/build/ working-directory: client/build/
- name: Test - name: Test

View file

@ -54,7 +54,7 @@ jobs:
run: make clean run: make clean
- name: Build - name: Build
run: make V=1 run: make -j $([System.Environment]::ProcessorCount + 1) V=1
- name: Test - name: Test
run: make check run: make check
@ -63,7 +63,7 @@ jobs:
run: make clean run: make clean
- name: Build btaddon - 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 - name: Test btaddon
run: make check run: make check
@ -84,7 +84,7 @@ jobs:
working-directory: client/build/ working-directory: client/build/
- name: Build cmake - name: Build cmake
run: make VERBOSE=1 run: make -j $([System.Environment]::ProcessorCount + 1) VERBOSE=1
working-directory: client/build/ working-directory: client/build/
- name: Test cmake - name: Test cmake
@ -141,7 +141,7 @@ jobs:
run: make clean run: make clean
- name: Build - name: Build
run: make V=1 run: make -j$((`nproc` + 1)) V=1
- name: Test - name: Test
run: make check run: make check
@ -150,7 +150,7 @@ jobs:
run: make clean run: make clean
- name: Build btaddon - name: Build btaddon
run: make V=1 PLATFORM_EXTRAS=BTADDON run: make -j$((`nproc` + 1)) V=1 PLATFORM_EXTRAS=BTADDON
- name: Test btaddon - name: Test btaddon
run: make check run: make check
@ -171,7 +171,7 @@ jobs:
working-directory: client/build/ working-directory: client/build/
- name: Build cmake - name: Build cmake
run: make VERBOSE=1 run: make -j$((`nproc` + 1)) VERBOSE=1
working-directory: client/build/ working-directory: client/build/
- name: Test cmake - name: Test cmake

View file

@ -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... 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] ## [unreleased][unreleased]
- Changed CI scripts to speed up the builds (@wh201906)
- Changed the timeout of local TCP connections (@wh201906) - Changed the timeout of local TCP connections (@wh201906)
- Finalized implementation of configcard generation for keyroll when cardhelper is not present (@Antiklesys) - Finalized implementation of configcard generation for keyroll when cardhelper is not present (@Antiklesys)
- Added documentation for compiling on iOS (@The-SamminAter) - Added documentation for compiling on iOS (@The-SamminAter)