Skip to content
Snippets Groups Projects
Commit 739d462c authored by Giacomo Caironi's avatar Giacomo Caironi
Browse files

Fix ci

parent 1a8f0e9b
No related branches found
No related tags found
1 merge request!5Fix ci
......@@ -21,6 +21,7 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive
QT_VERSION: 5.15.2
stages:
- lint
......@@ -54,15 +55,16 @@ build_linux:
stage: build
script:
- ./sbs --clean
- ./sbs
- Qt5_DIR=/opt/qt/$QT_VERSION/gcc_64/lib/cmake/Qt5/ ./sbs
- cd build
- QMAKE=/opt/qt/5.15.2/gcc_64/bin/qmake linuxdeploy --plugin qt -e groundstation -d ../linuxdeploy/groundstation.desktop -i ../linuxdeploy/SkywardLogo.png --appdir AppDir
- QMAKE=/opt/qt/$QT_VERSION/gcc_64/bin/qmake linuxdeploy --plugin qt -e groundstation -d ../linuxdeploy/groundstation.desktop -i ../linuxdeploy/SkywardLogo.png --appdir AppDir
- appimagetool AppDir
- mv Ground_Station-x86_64.AppImage ../Ground_Station-$CI_COMMIT_SHORT_SHA-x86_64.AppImage
artifacts:
name: Linux AppImage
paths:
- Ground_Station-$CI_COMMIT_SHORT_SHA-x86_64.AppImage
expire_in: 7 days
build_windows:
stage: build
......@@ -77,6 +79,7 @@ build_windows:
name: Windows executable
paths:
- Ground_Station-$CI_COMMIT_SHORT_SHA.exe
expire_in: 7 days
# release:
# tag_name: latest-$CI_COMMIT_SHORT_SHA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment