Check building samples out of tree in a CI job
Fixes: #23722 Closes #23723.
This commit is contained in:
parent
b6ea233845
commit
8b83e45f0e
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -120,6 +120,7 @@ jobs:
|
|||
configure_flags: --with-cxx=20 --enable-utf8 --enable-utf8only
|
||||
use_asan: true
|
||||
use_xvfb: true
|
||||
build_out_of_tree_samples: true
|
||||
- name: Ubuntu 18.04 wxX11
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu:18.04
|
||||
|
|
@ -400,3 +401,12 @@ jobs:
|
|||
run: |
|
||||
make -C samples/minimal -f makefile.unx clean
|
||||
make -C samples/minimal -f makefile.unx $wxBUILD_ARGS "CXXFLAGS=$wxMAKEFILE_CXXFLAGS" "LDFLAGS=$wxMAKEFILE_LDFLAGS"
|
||||
|
||||
- name: Building samples out of tree
|
||||
if: matrix.build_out_of_tree_samples
|
||||
run: |
|
||||
make -C samples clean
|
||||
for f in $(find samples -name makefile.unx); do
|
||||
mv $f $(dirname $f)/Makefile
|
||||
done
|
||||
make -C samples -k $wxBUILD_ARGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue