1 Star 2 Fork 0

江湖个人/DungeonRush

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
Rapiz 提交于 2021-05-21 15:29 . Update .travis.yml
language: cpp
compiler: gcc
sudo: require
dist: xenial
install:
- sudo apt-get -y install libsdl2-* cmake
script:
- mkdir build && cd build
- cmake ..
- make -j$(nproc)
- mkdir -p appdir/usr/share/icons/hicolor/256x256/apps # FIXME: "make INSTALL_ROOT=appdir install" should do this
- cp ../dungeonrush.png appdir/usr/share/icons/hicolor/256x256/apps/ # FIXME: "make INSTALL_ROOT=appdir install" should do this
- mkdir -p appdir/usr/share/applications # FIXME: "make INSTALL_ROOT=appdir install" should do this
- cp ../dungeonrush.desktop appdir/usr/share/applications/ # FIXME: "make INSTALL_ROOT=appdir install" should do this
- mkdir -p appdir/usr/bin # FIXME: "make INSTALL_ROOT=appdir install" should do this
- cp -r bin/dungeon_rush appdir/usr/bin/ # FIXME: "make INSTALL_ROOT=appdir install" should do this
- cp -r bin/res appdir/usr/ # FIXME: Workaround for https://github.com/Rapiz1/DungeonRush/issues/10#issuecomment-629748817
- wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64" -O ./appdir/AppRun # FIXME: Workaround for https://github.com/Rapiz1/DungeonRush/issues/10#issuecomment-629748817
- chmod +x ./appdir/AppRun # FIXME: Workaround for https://github.com/Rapiz1/DungeonRush/issues/10#issuecomment-629748817
- find appdir/
- wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
- chmod a+x linuxdeployqt-continuous-x86_64.AppImage
- ./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- env UPLOADTOOL_ISPRERELEASE=1 bash upload.sh DungeonRush*.AppImage*
branches:
only:
- master
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/jzffzj/DungeonRush.git
git@gitee.com:jzffzj/DungeonRush.git
jzffzj
DungeonRush
DungeonRush
master

搜索帮助