Skip to content
Snippets Groups Projects
Verified Commit 5f994160 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Build ZIP file for device

parent 7034201f
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,15 @@ Determine version number: ...@@ -26,6 +26,15 @@ Determine version number:
paths: paths:
- .version - .version
Build host bundle:
stage: build
before_script:
- apt-get -y update && apt-get -y install make zip
- make -C mynit VERSION=$(cat .version) mynit-$(cat .version).zip
artifacts:
paths:
- mynit/mynit-*.zip
Build companion app for Android: Build companion app for Android:
stage: build stage: build
before_script: before_script:
...@@ -47,6 +56,7 @@ pages: ...@@ -47,6 +56,7 @@ pages:
script: script:
- mkdir public - mkdir public
- cp companion/mynit-companion-*.apk public/ - cp companion/mynit-companion-*.apk public/
- cp mynit/myni-*.zip public/
artifacts: artifacts:
paths: paths:
- public/ - public/
VERSION := 0.0.1
mynit-$(VERSION).zip:
zip "$@" boot.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment