]> source.dussan.org Git - rspamd.git/commitdiff
[CI] Maybe enable devtoolset if possible
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 24 Sep 2024 08:38:59 +0000 (09:38 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 24 Sep 2024 08:38:59 +0000 (09:38 +0100)
.github/workflows/ci_rspamd_build.yml

index aa12c9c6e252078f3a8df6adc97c24d0ebd028a8..04180a65d613ac2829424db9f68ceeda8291c910 100644 (file)
@@ -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