CI: Use a single build job for final pluginval stage
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
88b6c387b6
commit
a1fce952c9
1 changed files with 15 additions and 3 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -420,7 +420,7 @@ jobs:
|
||||||
make features
|
make features
|
||||||
# multiple jobs for building carla, deps and plugins
|
# multiple jobs for building carla, deps and plugins
|
||||||
make DEBUG=true carla deps dgl plugins resources -j $(nproc)
|
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
|
make DEBUG=true HAVE_PULSEAUDIO=false -j 1
|
||||||
- name: Set sha8
|
- name: Set sha8
|
||||||
id: slug
|
id: slug
|
||||||
|
|
@ -1180,7 +1180,8 @@ jobs:
|
||||||
uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
with:
|
with:
|
||||||
key: ccache-pluginval-v${{ env.CACHE_VERSION }}
|
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:
|
env:
|
||||||
CFLAGS: -g
|
CFLAGS: -g
|
||||||
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING -Wno-pmf-conversions
|
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING -Wno-pmf-conversions
|
||||||
|
|
@ -1189,7 +1190,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
make features
|
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
|
- name: Run Cardinal self-tests
|
||||||
run: |
|
run: |
|
||||||
# --exit-on-first-error=yes
|
# --exit-on-first-error=yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue