Github Actions fix debug tests and cmake [ci skip]
This commit is contained in:
parent
a79907f863
commit
77baa82c5e
2 changed files with 12 additions and 4 deletions
8
.github/workflows/ci-main.yml
vendored
8
.github/workflows/ci-main.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "true"
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache object files
|
||||
uses: actions/cache@v2
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "true"
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache object files
|
||||
uses: actions/cache@v2
|
||||
|
@ -51,7 +51,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "true"
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache object files
|
||||
uses: actions/cache@v2
|
||||
|
@ -70,7 +70,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "true"
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Cache object files
|
||||
uses: actions/cache@v2
|
||||
|
|
8
.github/workflows/ci-scripts/docker.sh
vendored
8
.github/workflows/ci-scripts/docker.sh
vendored
|
@ -80,6 +80,14 @@ if [ $EXIT_VAL != 0 ]; then
|
|||
exit $EXIT_VAL
|
||||
fi
|
||||
|
||||
# rename debug executables to what the tests expect
|
||||
if [ "$CFG" == "debug" ]; then
|
||||
mv wesnoth-debug wesnoth
|
||||
mv wesnothd-debug wesnothd
|
||||
mv campaignd-debug campaignd
|
||||
mv boost_unit_tests-debug boost_unit_tests
|
||||
fi
|
||||
|
||||
execute "WML validation" ./utils/travis/schema_validation.sh
|
||||
execute "WML indentation check" checkindent
|
||||
execute "WML tests" ./run_wml_tests -g -v -c -t 20
|
||||
|
|
Loading…
Add table
Reference in a new issue