aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-09-24 09:44:32 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-09-24 09:44:32 +0100
commiteec5f264e6d98a76e6197abdb28c09e3134405c1 (patch)
treecc0d3f0e27c06b6174542d8d309ebb22c55003e2 /.github
parent41935e3568c2ab73ea71b6bb7abfaa15775b4016 (diff)
downloadrspamd-eec5f264e6d98a76e6197abdb28c09e3134405c1.tar.gz
rspamd-eec5f264e6d98a76e6197abdb28c09e3134405c1.zip
[CI] Learning what ci can
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_rspamd_build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci_rspamd_build.yml b/.github/workflows/ci_rspamd_build.yml
index 04180a65d..9503f1974 100644
--- a/.github/workflows/ci_rspamd_build.yml
+++ b/.github/workflows/ci_rspamd_build.yml
@@ -34,12 +34,12 @@ jobs:
run: |
mkdir ${GITHUB_WORKSPACE}/build
cd ${GITHUB_WORKSPACE}/build
- source /opt/rh/gcc-toolset-10/enable || true
+ if [[ -f /opt/rh/gcc-toolset-10/enable ]] ; then source /opt/rh/gcc-toolset-10/enable ; fi
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
+ if [[ -f /opt/rh/gcc-toolset-10/enable ]] ; then source /opt/rh/gcc-toolset-10/enable ; fi
cd ${GITHUB_WORKSPACE}/build
ncpu=$(getconf _NPROCESSORS_ONLN)
make -j $ncpu install