Skip to content
Snippets Groups Projects
Unverified Commit 346b23f0 authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

Merge pull request #3058 from blocktrron/ci-build-threads

ci: dynamically set thread-count 
parents ec199238 7bfe3ec6
No related branches found
Tags experimental-2023-11-09-base
No related merge requests found
......@@ -41,6 +41,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Show system information
run: contrib/actions/show-system-info.sh
- name: Install Dependencies
run: sudo contrib/actions/install-dependencies.sh
......
......@@ -9,5 +9,9 @@ export GLUON_SITEDIR="contrib/ci/minimal-site"
export GLUON_TARGET="$1"
export BUILD_LOG=1
BUILD_THREADS="$(($(nproc) + 1))"
echo "Building Gluon with $BUILD_THREADS threads"
make update
make -j2 V=s
make -j$BUILD_THREADS V=s
#!/bin/bash
echo "-- CPU --"
cat /proc/cpuinfo
echo "-- Memory --"
cat /proc/meminfo
echo "-- Disk --"
df -h
echo "-- Kernel --"
uname -a
echo "-- Network --"
ip addr
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment