aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-01-04 18:58:19 +0100
committercbdev <cb@cbcdn.com>2020-01-04 18:58:19 +0100
commitf8ed6c26683c041ec61dac46d740b4b87df811ad (patch)
tree68ad763cbc9a63a3a67ef7ec6fcd3a942e3b2b6c
parent871bc1568f94ee4026fd64df062572b91d45d462 (diff)
downloadmidimonster-f8ed6c26683c041ec61dac46d740b4b87df811ad.tar.gz
midimonster-f8ed6c26683c041ec61dac46d740b4b87df811ad.tar.bz2
midimonster-f8ed6c26683c041ec61dac46d740b4b87df811ad.zip
Build the Lua backend on Windows using CI
-rw-r--r--.travis-ci.sh1
-rw-r--r--.travis.yml2
2 files changed, 3 insertions, 0 deletions
diff --git a/.travis-ci.sh b/.travis-ci.sh
index 1475dea..c278b33 100644
--- a/.travis-ci.sh
+++ b/.travis-ci.sh
@@ -75,6 +75,7 @@ elif [[ $TASK = 'windows' ]]; then
# Run sanitized compile
travis_fold start "make_windows"
make windows;
+ make -C backends lua.dll
travis_fold end "make_windows"
travis_fold start "deploy_windows"
if [ "$(git describe)" == "$(git describe --abbrev=0)" ]; then
diff --git a/.travis.yml b/.travis.yml
index 21c2a40..5c0a3ec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -198,6 +198,8 @@ before_install:
#OS X uses something other than $CXX variable
- if [ "$TRAVIS_OS_NAME" == "linux" -a \( "$TASK" = "compile" -o "$TASK" = "sanitize" \) ]; then $CXX --version; fi
- if [ "$TASK" == "spellintian" -o "$TASK" == "spellintian-duplicates" ]; then wget "http://archive.ubuntu.com/ubuntu/pool/main/l/lintian/lintian_2.5.104_all.deb"; sudo dpkg -i lintian_*.deb; sudo apt-get install -f -y; fi # Install a later lintian
+# Download libraries to link with on Windows
+ - if [ "$TASK" == "windows" ]; then mkdir libs; wget "https://downloads.sourceforge.net/project/luabinaries/5.3.5/Windows%20Libraries/Dynamic/lua-5.3.5_Win64_dllw6_lib.zip" -O lua53.zip; unzip lua53.zip lua53.dll; mv lua53.dll libs; fi
after_script:
- if [ "$TASK" = "coverity" ]; then tail -n 10000 ${TRAVIS_BUILD_DIR}/cov-int/build-log.txt; cat ${TRAVIS_BUILD_DIR}/cov-int/scm_log.txt; fi