aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorplowsof <77655812+plowsof@users.noreply.github.com>2024-10-09 20:39:54 +0100
committerplowsof <plowsof@protonmail.com>2024-12-23 20:06:15 +0000
commita20c68e773be4c3ee99b78378f2c78ffc08e82b5 (patch)
treea03eeb7ba519083db4b491f2b4b07452b93afed9 /.github
parent2fe0f04c1e2eafdea998aa96fa5c116cc871696b (diff)
downloadmonzero-core-a20c68e773be4c3ee99b78378f2c78ffc08e82b5.tar.gz
monzero-core-a20c68e773be4c3ee99b78378f2c78ffc08e82b5.tar.xz
monzero-core-a20c68e773be4c3ee99b78378f2c78ffc08e82b5.zip
CI: -j4 with lin/win runners
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--.github/workflows/depends.yml2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c15b3e273..e4cf8bc31 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,7 +11,7 @@ on:
env:
REMOVE_BUNDLED_BOOST : rm -rf /usr/local/share/boost
BUILD_DEFAULT_LINUX: |
- cmake -S . -B build -D ARCH="default" -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release && cmake --build build -j3
+ cmake -S . -B build -D ARCH="default" -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release && cmake --build build --parallel 4
APT_INSTALL_LINUX: 'sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler ccache'
APT_SET_CONF: |
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
@@ -75,7 +75,7 @@ jobs:
- name: build
run: |
${{env.CCACHE_SETTINGS}}
- make release-static-win64 -j2
+ make release-static-win64 -j4
# See the OS labels and monitor deprecations here:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
@@ -134,7 +134,7 @@ jobs:
run: |
${{env.CCACHE_SETTINGS}}
cmake .
- make wallet_api -j3
+ make wallet_api -j4
test-ubuntu:
needs: build-ubuntu
diff --git a/.github/workflows/depends.yml b/.github/workflows/depends.yml
index 710a548a5..b89026acc 100644
--- a/.github/workflows/depends.yml
+++ b/.github/workflows/depends.yml
@@ -96,7 +96,7 @@ jobs:
- name: build
run: |
${{env.CCACHE_SETTINGS}}
- make depends target=${{ matrix.toolchain.host }} -j2
+ make depends target=${{ matrix.toolchain.host }} -j4
- uses: actions/upload-artifact@v3
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' || matrix.toolchain.host == 'x86_64-apple-darwin11' || matrix.toolchain.host == 'x86_64-unknown-linux-gnu' }}
with: