2025-01-25 10:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* .github/workflows/vm1-ci.yml
  * .github/workflows/vm2-ci.yml
    * updated to always set number of CPUs for -j GNU make switch,
      using unlimited number of forks (-j without parameter) causes
      'Resource temporarily unavailable' error
This commit is contained in:
Przemysław Czerpak
2025-01-25 10:19:58 +01:00
parent 65a6755f72
commit 87b5139864
3 changed files with 10 additions and 2 deletions

View File

@@ -83,7 +83,6 @@ jobs:
ref: ${{ github.event.client_payload.branch }}
- run: pwd
- run: for f in /usr/include/openssl/*;do echo "=^$f";cat $f;done
- run: ls
- name: Prepare ccache using action
@@ -96,7 +95,8 @@ jobs:
run: |
set -ex
case ${{matrix.os.name }} in
*bsd) _cpus="sysctl -n hw.ncpu" ;;
*bsd) _cpus="sudo sysctl -n hw.ncpu" ;;
*) _cpus="echo 3" ;;
esac
HB_USER_CFLAGS=""
HB_USER_LDFLAGS=""

View File

@@ -99,6 +99,7 @@ jobs:
case ${{matrix.os.name }} in
*bsd) _cpus="sysctl -n hw.ncpu" ;;
omnios|solaris) _cpus="psrinfo -p" _add_path="/usr/sfw/bin" ;;
*) _cpus="echo 3" ;;
esac
HB_USER_CFLAGS=""
HB_USER_LDFLAGS=""