123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- #!/usr/bin/env bash
- set -e
- MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
- echo $MY_DIR
- cd "${MY_DIR}"
- cd ..
- GENIE=include/genie/bin/linux/genie
- PREMAKE=include/premake/bin/release/premake5
- cp include/genie/OpenMPT.txt include/genie/OpenMPT-expected.txt
- if ! diff include/genie/OpenMPT-expected.txt include/genie/OpenMPT-version.txt >/dev/null ; then
- echo "Genie version mismatch"
- exit 1
- fi
- cp include/premake/OpenMPT.txt include/premake/OpenMPT-expected.txt
- if ! diff include/premake/OpenMPT-expected.txt include/premake/OpenMPT-version.txt >/dev/null ; then
- echo "Premake version mismatch"
- exit 1
- fi
- echo dofile \"build/premake/premake.lua\" > premake5.lua
- ${PREMAKE} --group=libopenmpt_test vs2017 --winxp && \
- ${PREMAKE} --group=in_openmpt vs2017 --winxp && \
- ${PREMAKE} --group=xmp-openmpt vs2017 --winxp && \
- ${PREMAKE} --group=libopenmpt-small vs2017 --winxp && \
- ${PREMAKE} --group=libopenmpt vs2017 --winxp && \
- ${PREMAKE} --group=openmpt123 vs2017 --winxp && \
- ${PREMAKE} --group=PluginBridge vs2017 --winxp && \
- ${PREMAKE} --group=OpenMPT vs2017 --winxp && \
- ${PREMAKE} --group=all-externals vs2017 --winxp && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2017 --win7 && \
- ${PREMAKE} --group=in_openmpt vs2017 --win7 && \
- ${PREMAKE} --group=xmp-openmpt vs2017 --win7 && \
- ${PREMAKE} --group=libopenmpt-small vs2017 --win7 && \
- ${PREMAKE} --group=libopenmpt vs2017 --win7 && \
- ${PREMAKE} --group=openmpt123 vs2017 --win7 && \
- ${PREMAKE} --group=PluginBridge vs2017 --win7 && \
- ${PREMAKE} --group=OpenMPT vs2017 --win7 && \
- ${PREMAKE} --group=all-externals vs2017 --win7 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2017 --win10 && \
- ${PREMAKE} --group=in_openmpt vs2017 --win10 && \
- ${PREMAKE} --group=xmp-openmpt vs2017 --win10 && \
- ${PREMAKE} --group=libopenmpt-small vs2017 --win10 && \
- ${PREMAKE} --group=libopenmpt vs2017 --win10 && \
- ${PREMAKE} --group=openmpt123 vs2017 --win10 && \
- ${PREMAKE} --group=PluginBridge vs2017 --win10 && \
- ${PREMAKE} --group=OpenMPT vs2017 --win10 && \
- ${PREMAKE} --group=all-externals vs2017 --win10 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2019 --win7 && \
- ${PREMAKE} --group=in_openmpt vs2019 --win7 && \
- ${PREMAKE} --group=xmp-openmpt vs2019 --win7 && \
- ${PREMAKE} --group=libopenmpt-small vs2019 --win7 && \
- ${PREMAKE} --group=libopenmpt vs2019 --win7 && \
- ${PREMAKE} --group=openmpt123 vs2019 --win7 && \
- ${PREMAKE} --group=PluginBridge vs2019 --win7 && \
- ${PREMAKE} --group=OpenMPT vs2019 --win7 && \
- ${PREMAKE} --group=all-externals vs2019 --win7 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2019 --win81 && \
- ${PREMAKE} --group=in_openmpt vs2019 --win81 && \
- ${PREMAKE} --group=xmp-openmpt vs2019 --win81 && \
- ${PREMAKE} --group=libopenmpt-small vs2019 --win81 && \
- ${PREMAKE} --group=libopenmpt vs2019 --win81 && \
- ${PREMAKE} --group=openmpt123 vs2019 --win81 && \
- ${PREMAKE} --group=PluginBridge vs2019 --win81 && \
- ${PREMAKE} --group=OpenMPT vs2019 --win81 && \
- ${PREMAKE} --group=all-externals vs2019 --win81 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2019 --win10 && \
- ${PREMAKE} --group=in_openmpt vs2019 --win10 && \
- ${PREMAKE} --group=xmp-openmpt vs2019 --win10 && \
- ${PREMAKE} --group=libopenmpt-small vs2019 --win10 && \
- ${PREMAKE} --group=libopenmpt vs2019 --win10 && \
- ${PREMAKE} --group=openmpt123 vs2019 --win10 && \
- ${PREMAKE} --group=PluginBridge vs2019 --win10 && \
- ${PREMAKE} --group=OpenMPT vs2019 --win10 && \
- ${PREMAKE} --group=all-externals vs2019 --win10 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2022 --win7 && \
- ${PREMAKE} --group=in_openmpt vs2022 --win7 && \
- ${PREMAKE} --group=xmp-openmpt vs2022 --win7 && \
- ${PREMAKE} --group=libopenmpt-small vs2022 --win7 && \
- ${PREMAKE} --group=libopenmpt vs2022 --win7 && \
- ${PREMAKE} --group=openmpt123 vs2022 --win7 && \
- ${PREMAKE} --group=PluginBridge vs2022 --win7 && \
- ${PREMAKE} --group=OpenMPT vs2022 --win7 && \
- ${PREMAKE} --group=all-externals vs2022 --win7 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2022 --win81 && \
- ${PREMAKE} --group=in_openmpt vs2022 --win81 && \
- ${PREMAKE} --group=xmp-openmpt vs2022 --win81 && \
- ${PREMAKE} --group=libopenmpt-small vs2022 --win81 && \
- ${PREMAKE} --group=libopenmpt vs2022 --win81 && \
- ${PREMAKE} --group=openmpt123 vs2022 --win81 && \
- ${PREMAKE} --group=PluginBridge vs2022 --win81 && \
- ${PREMAKE} --group=OpenMPT vs2022 --win81 && \
- ${PREMAKE} --group=all-externals vs2022 --win81 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2022 --win10 && \
- ${PREMAKE} --group=in_openmpt vs2022 --win10 && \
- ${PREMAKE} --group=xmp-openmpt vs2022 --win10 && \
- ${PREMAKE} --group=libopenmpt-small vs2022 --win10 && \
- ${PREMAKE} --group=libopenmpt vs2022 --win10 && \
- ${PREMAKE} --group=openmpt123 vs2022 --win10 && \
- ${PREMAKE} --group=PluginBridge vs2022 --win10 && \
- ${PREMAKE} --group=OpenMPT vs2022 --win10 && \
- ${PREMAKE} --group=all-externals vs2022 --win10 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt_test vs2022 --clang --win10 && \
- ${PREMAKE} --group=in_openmpt vs2022 --clang --win10 && \
- ${PREMAKE} --group=xmp-openmpt vs2022 --clang --win10 && \
- ${PREMAKE} --group=libopenmpt-small vs2022 --clang --win10 && \
- ${PREMAKE} --group=libopenmpt vs2022 --clang --win10 && \
- ${PREMAKE} --group=openmpt123 vs2022 --clang --win10 && \
- ${PREMAKE} --group=PluginBridge vs2022 --clang --win10 && \
- ${PREMAKE} --group=OpenMPT vs2022 --clang --win10 && \
- ${PREMAKE} --group=all-externals vs2022 --clang --win10 && \
- echo ok &
- ${PREMAKE} --group=libopenmpt-small vs2019 --win10 --uwp && \
- ${PREMAKE} --group=libopenmpt vs2019 --win10 --uwp && \
- ${PREMAKE} --group=all-externals vs2019 --win10 --uwp && \
- echo ok &
- ${PREMAKE} --group=libopenmpt-small vs2022 --win10 --uwp && \
- ${PREMAKE} --group=libopenmpt vs2022 --win10 --uwp && \
- ${PREMAKE} --group=all-externals vs2022 --win10 --uwp && \
- echo ok &
- echo dofile \"build/genie/genie.lua\" > genie.lua
- ${GENIE} --target="winstore82" vs2017
- echo dofile \"build/xcode-genie/genie.lua\" > genie.lua
- ${GENIE} --target="macosx" --os=macosx xcode9
- ${GENIE} --target="iphoneos" --os=macosx xcode9
- wait
|