diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-24 09:38:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-09-24 09:38:59 +0100 |
commit | 41935e3568c2ab73ea71b6bb7abfaa15775b4016 (patch) | |
tree | 94882ad8681662524bff2239bb4374c75a1a9f46 /.github | |
parent | 004c3475ac14bd84580ea114824dfedafea20a5e (diff) | |
download | rspamd-41935e3568c2ab73ea71b6bb7abfaa15775b4016.tar.gz rspamd-41935e3568c2ab73ea71b6bb7abfaa15775b4016.zip |
[CI] Maybe enable devtoolset if possible
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci_rspamd_build.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci_rspamd_build.yml b/.github/workflows/ci_rspamd_build.yml index aa12c9c6e..04180a65d 100644 --- a/.github/workflows/ci_rspamd_build.yml +++ b/.github/workflows/ci_rspamd_build.yml @@ -34,10 +34,12 @@ jobs: run: | mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build + source /opt/rh/gcc-toolset-10/enable || true cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_COVERAGE=ON -DENABLE_LIBUNWIND=ON -DENABLE_LUAJIT=ON -DLUA_ROOT=/luajit-build -DENABLE_HYPERSCAN=ON ${{ env.HYPERSCAN_ALTROOT }} ${GITHUB_WORKSPACE}/src - name: Build rspamd run: | + source /opt/rh/gcc-toolset-10/enable || true cd ${GITHUB_WORKSPACE}/build ncpu=$(getconf _NPROCESSORS_ONLN) make -j $ncpu install |