From a1fce952c96296912fd1acdc1cb92e673283a39d Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 31 Dec 2022 14:23:26 +0000 Subject: [PATCH] CI: Use a single build job for final pluginval stage Signed-off-by: falkTX --- .github/workflows/build.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 088f85c..a071149 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -420,7 +420,7 @@ jobs: make features # multiple jobs for building carla, deps and plugins make DEBUG=true carla deps dgl plugins resources -j $(nproc) - # single job for final build stage, otherwise we might killed due to OOM + # single job for final build stage, otherwise we might get killed due to OOM make DEBUG=true HAVE_PULSEAUDIO=false -j 1 - name: Set sha8 id: slug @@ -1180,7 +1180,8 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ccache-pluginval-v${{ env.CACHE_VERSION }} - - name: Build Cardinal + # multiple jobs for building carla, deps and plugins + - name: Build Cardinal (carla, deps and plugins) env: CFLAGS: -g CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING -Wno-pmf-conversions @@ -1189,7 +1190,18 @@ jobs: run: | export PATH="/usr/lib/ccache:${PATH}" make features - make NOOPT=true SKIP_STRIPPING=true -j $(nproc) + make NOOPT=true SKIP_STRIPPING=true carla deps dgl plugins resources -j $(nproc) + # single job for final build stage, otherwise we might get killed due to OOM + - name: Build Cardinal (final build stage) + env: + CFLAGS: -g + CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING -Wno-pmf-conversions + LDFLAGS: -static-libgcc -static-libstdc++ + WITH_LTO: false + run: | + export PATH="/usr/lib/ccache:${PATH}" + make features + make NOOPT=true SKIP_STRIPPING=true -j 1 - name: Run Cardinal self-tests run: | # --exit-on-first-error=yes