Add Alliance build to regression tests.
This commit is contained in:
parent
826bc0dd2e
commit
f3bab0a666
|
@ -24,6 +24,10 @@ jobs:
|
||||||
run: >
|
run: >
|
||||||
sudo apt-get install libboost-all-dev rapidjson-dev \
|
sudo apt-get install libboost-all-dev rapidjson-dev \
|
||||||
qtbase5-dev qtbase5-dev-tools libqt5svg5-dev libqwt-qt5-dev \
|
qtbase5-dev qtbase5-dev-tools libqt5svg5-dev libqwt-qt5-dev \
|
||||||
libeigen3-dev liblemon-dev
|
libeigen3-dev liblemon-dev \
|
||||||
|
autotools-dev automake \
|
||||||
|
libxt-dev libxpm-dev libmotif-dev
|
||||||
|
- name: Build Alliance
|
||||||
|
run: ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/allianceInstaller.sh --github-runner=${{ github.workspace }}
|
||||||
- name: Build Coriolis
|
- name: Build Coriolis
|
||||||
run: ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py --root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install"
|
run: ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py --root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install"
|
||||||
|
|
|
@ -17,10 +17,30 @@
|
||||||
if [[ "`pwd`" =~ /nightly/ ]]; then
|
if [[ "`pwd`" =~ /nightly/ ]]; then
|
||||||
nightly="/nightly"
|
nightly="/nightly"
|
||||||
fi
|
fi
|
||||||
|
root="${HOME}${nightly}"
|
||||||
|
|
||||||
srcDir=${HOME}${nightly}/coriolis-2.x/src/alliance/alliance/src
|
getString ()
|
||||||
commonRoot=${HOME}${nightly}/coriolis-2.x/${arch}/Release.Shared
|
{
|
||||||
#commonRoot=${HOME}${nightly}/coriolis-2.x/${arch}/Debug.Shared
|
string=`echo $1 | cut -d '=' -f 2-`
|
||||||
|
echo $string
|
||||||
|
}
|
||||||
|
|
||||||
|
while [ $# -gt 0 ]; do
|
||||||
|
case $1 in
|
||||||
|
--github-runner=*) echo "Using Github/runner profile.";
|
||||||
|
onGithub="true"
|
||||||
|
root=`getString $1`;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "${onGithub}" = "true" ]; then
|
||||||
|
arch="Linux.x86_64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
srcDir=${root}/coriolis-2.x/src/alliance/alliance/src
|
||||||
|
commonRoot=${root}/coriolis-2.x/${arch}/Release.Shared
|
||||||
|
#commonRoot=${root}/coriolis-2.x/${arch}/Debug.Shared
|
||||||
buildDir=${commonRoot}/build
|
buildDir=${commonRoot}/build
|
||||||
installDir=${commonRoot}/install
|
installDir=${commonRoot}/install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue