Github Actions ubuntu compile test.
This commit is contained in:
parent
ef20fc769c
commit
c09e95a20e
2 changed files with 11 additions and 1 deletions
8
.github/workflows/ci-scripts/docker.sh
vendored
Executable file
8
.github/workflows/ci-scripts/docker.sh
vendored
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
scons wesnoth wesnothd campaignd boost_unit_tests build=release \
|
||||
ctool=gcc cxxtool=g++ cxx_std=17 \
|
||||
extra_flags_config="-pipe" strict=true forum_user_handler=true \
|
||||
nls=false enable_lto=true sanitize=false jobs=2 --debug=time
|
||||
|
||||
ls -Al
|
4
.github/workflows/ci-scripts/ubuntu.sh
vendored
4
.github/workflows/ci-scripts/ubuntu.sh
vendored
|
@ -2,6 +2,8 @@
|
|||
|
||||
date
|
||||
|
||||
docker image ls
|
||||
|
||||
echo FROM wesnoth/wesnoth:2004-master > utils/dockerbuilds/travis/Dockerfile-travis-2004-master
|
||||
echo COPY ./ /home/wesnoth-travis/ >> utils/dockerbuilds/travis/Dockerfile-travis-2004-master
|
||||
echo WORKDIR /home/wesnoth-travis >> utils/dockerbuilds/travis/Dockerfile-travis-2004-master
|
||||
|
@ -10,4 +12,4 @@ docker build -t wesnoth-repo:2004-master -f utils/dockerbuilds/travis/Dockerfile
|
|||
|
||||
docker image ls
|
||||
|
||||
|
||||
docker run --cap-add=ALL --privileged wesnoth-repo:2004-master ./.github/workflows/ci-scripts/docker.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue