Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cie
- Loading branch information
Showing
6 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
language: cpp | ||
compiler: gcc | ||
sudo: require | ||
dist: trusty | ||
before_install: | ||
- sudo add-apt-repository ppa:beineri/opt-qt593-trusty -y | ||
- sudo apt-get update -qq | ||
install: | ||
- sudo apt-get -y install qt59base qt59multimedia | ||
- source /opt/qt*/bin/qt*-env.sh | ||
script: | ||
- qmake CONFIG+=release PREFIX=/usr | ||
- make -j$(nproc) | ||
- make INSTALL_ROOT=appdir -j$(nproc) install ; 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 | ||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH | ||
- export VERSION=$(git rev-parse --short HEAD) | ||
- "./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage" | ||
after_success: | ||
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq | ||
- ls -la | ||
deploy: | ||
provider: releases | ||
skip_cleanup: true | ||
file_glob: true | ||
api_key: | ||
secure: Krfe6dk29Ev99pt3UTI/NMf1T4mIYdIBXqTnXmgG7dT9AAU5/kY7yrrvZ9SEX4eynbDZSuOFJQDkwmQv+K2AmVCDQgkOqmF90iNjv7XdWOb+bHPA4y1cGz2FBjShFLD07Cy4fFzGw7Ic2mP2TDtVaxbm3xBANx0SrPJXDyrflziEywrgFF/zzJDd+bx00ETkbwf795DsthN+jfY6pEbVHGxZ4pXCvoLsNRC1UhGtqIJTQKKWhqpRHu8R/wFUe0iRxORibBdrD2h4q/rOoarAuH2czz1QgJDGTypYbLkyEBvTyZoTq76I8/0E8/Vx9Dcuo3SjsTCRhjRlOLRTENc1h89qmyrgE1yusMz47ONB6G70YiVAYVom02M3VK6RMrtIYPFbftZqaMpP06y95CKtscTaGjk4LT/WoOkY4Pcq+1jtEXnqaF5aQwYosO4uReBesbVlC7e1r/p1ZzpFN0OhGWMnT++OUzaSpwN2TtmY59EH8Wa2KWcyqEsyBV63gPWJMr6fsGWCcuTm9sdWrFM4pJUeiG4Ups7UVy4yb0g0YtOOG435f8PCDW/Y+FV3OMgc+0CNO0PIKP6/3yygcHLD0vTKprKpR2zh9NWwzr4Aho+lGQD12MJnRXI6xR7O3L4HcBbR2qKXrtIIYuT0FbnHVJ2hFF/dSVWa/dMZlOCpcHY= | ||
file: "SFRT_Attendance*.AppImage" | ||
on: | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Attendance | ||
the attendance tracking program for robotics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
init: | ||
- set QTDIR=C:\Qt\5.11.1\mingw53_32 | ||
- set PATH=%PATH%;%QTDIR%\bin;C:\Qt\Tools\mingw530_32\bin | ||
|
||
build_script: | ||
- qmake Attendance.pro | ||
- mingw32-make | ||
|
||
artifacts: | ||
- path: release\deploy | ||
name: windows | ||
|
||
after_build: | ||
- cd release | ||
- mkdir deploy | ||
- copy Attendance.exe deploy | ||
- cd deploy | ||
- windeployqt Attendance.exe | ||
deploy: | ||
provider: GitHub | ||
auth_token: | ||
secure: GZNa7utcPcbg7EKCpRk3xv1fWvo66qE9VsAD5a1/HTmkORbrMvDEEXfbd/JVjc6U | ||
artifact: windows | ||
draft: true | ||
prerelease: false | ||
force_update: true | ||
on: | ||
branch: master # release from master branch only | ||
appveyor_repo_tag: true # deploy on tag push only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=SFRT Attendance | ||
Comment=SFRT Attendance | ||
Exec=Attendance | ||
Icon=Attendance | ||
Categories=Office; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.