mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 10:49:48 +02:00
Don't build the appimage for macos!
This commit is contained in:
45
.travis.yml
45
.travis.yml
@@ -81,28 +81,29 @@ script: |
|
|||||||
cmake .. -DFORCE_EMBEDDED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr;
|
cmake .. -DFORCE_EMBEDDED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make -j$(nproc) && make install DESTDIR=../Glest;
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
||||||
cd ..;
|
make -j$(nproc) && make install DESTDIR=../Glest;
|
||||||
rm -rf build;
|
cd ..;
|
||||||
# Get the data for the appimage build.
|
rm -rf build;
|
||||||
git clone https://github.com/glest/glest-data.git;
|
# Get the data for the appimage build.
|
||||||
mkdir build;
|
git clone https://github.com/glest/glest-data.git;
|
||||||
cd build;
|
mkdir build;
|
||||||
cmake ../glest-data -DCMAKE_INSTALL_PREFIX=/usr;
|
cd build;
|
||||||
make && make install DESTDIR=../Glest;
|
cmake ../glest-data -DCMAKE_INSTALL_PREFIX=/usr;
|
||||||
cd ..;
|
make && make install DESTDIR=../Glest;
|
||||||
rm -rf build;
|
cd ..;
|
||||||
# Remove useless metainfo.
|
rm -rf build;
|
||||||
rm Glest/usr/share/metainfo/io.glest.Editor.appdata.xml;
|
# Remove useless metainfo.
|
||||||
find Glest/;
|
rm Glest/usr/share/metainfo/io.glest.Editor.appdata.xml;
|
||||||
# Build the appimage.
|
find Glest/;
|
||||||
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/pulseaudio/:/usr/lib/i386-linux-gnu/pulseaudio/:$LD_LIBRARY_PATH;
|
# Build the appimage.
|
||||||
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage";
|
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/pulseaudio/:/usr/lib/i386-linux-gnu/pulseaudio/:$LD_LIBRARY_PATH;
|
||||||
chmod a+x linuxdeployqt-continuous-x86_64.AppImage;
|
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage";
|
||||||
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH;
|
chmod a+x linuxdeployqt-continuous-x86_64.AppImage;
|
||||||
export VERSION="2.0"; # linuxdeployqt uses this for naming the file
|
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH;
|
||||||
./linuxdeployqt-continuous-x86_64.AppImage Glest/usr/share/applications/io.glest.Glest.desktop -appimage;
|
export VERSION="2.0"; # linuxdeployqt uses this for naming the file
|
||||||
|
./linuxdeployqt-continuous-x86_64.AppImage Glest/usr/share/applications/io.glest.Glest.desktop -appimage;
|
||||||
|
fi
|
||||||
# https://docs.travis-ci.com/user/notifications/#IRC-notification
|
# https://docs.travis-ci.com/user/notifications/#IRC-notification
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
|
Reference in New Issue
Block a user