From: Vsevolod Stakhov Date: Mon, 23 Sep 2024 17:48:03 +0000 (+0100) Subject: Update ci_rspamd_build.yml X-Git-Tag: 3.10.0~9^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=04fb47f5432ad4e660cdedfa3490ac738d737aaf;p=rspamd.git Update ci_rspamd_build.yml --- diff --git a/.github/workflows/ci_rspamd_build.yml b/.github/workflows/ci_rspamd_build.yml index cdada5e8a..aa12c9c6e 100644 --- a/.github/workflows/ci_rspamd_build.yml +++ b/.github/workflows/ci_rspamd_build.yml @@ -34,18 +34,18 @@ jobs: run: | mkdir ${GITHUB_WORKSPACE}/build cd ${GITHUB_WORKSPACE}/build - cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_COVERAGE=ON -DENABLE_LIBUNWIND=ON -DENABLE_HYPERSCAN=ON ${{ env.HYPERSCAN_ALTROOT }} -GNinja ${GITHUB_WORKSPACE}/src + 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: | cd ${GITHUB_WORKSPACE}/build ncpu=$(getconf _NPROCESSORS_ONLN) - ninja -j $ncpu install - ninja -j $ncpu rspamd-test - ninja -j $ncpu rspamd-test-cxx + make -j $ncpu install + make -j $ncpu rspamd-test + make -j $ncpu rspamd-test-cxx - name: Run unit tests if: "!(inputs.name == 'ubuntu-ci' && runner.arch == 'ARM64')" run: | cd ${GITHUB_WORKSPACE}/build - ninja test + make test