summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Höhn <hoehnp@gmx.de>2018-10-29 22:26:49 +0100
committerPatrick Höhn <hoehnp@gmx.de>2018-10-29 22:26:49 +0100
commit9679cf1784b366b3b848d7bd4fedde0b1039a6fe (patch)
tree2dcb3bbf0040dd9a8ab55b7390aa7c4dd984e889
parentbf35b9fbd5a35706ca89627d8b313d1dc77b862e (diff)
downloadnavit-sfos_circleci.tar.gz
fix: working sailfish build on circleci using machine executorsfos_circleci
ändrad: .circleci/config.yml
-rw-r--r--.circleci/config.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index eecf98b57..82f300dff 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -49,6 +49,21 @@ jobs:
command: bash scripts/update_doxygen.sh
- store_artifacts:
path: /root/project/doc
+ build_sailfish:
+ machine: true
+ steps:
+ - run:
+ name: install docker
+ command: circleci-install docker
+ - run:
+ name: make build dir and clone git repository
+ command: mkdir ../rpmbuild && git clone https://github.com/navit-gps/navit .
+ - run:
+ name: run build
+ command: ls -lah ../rpmbuild && docker run -e VERSION_ID=2.2.1.18 -v `pwd`/../rpmbuild:/home/nemo/rpmbuild:rw -v `pwd`:/home/nemo/navit hoehnp/sailfishos-platform-sdk:2.2.1.18-r1 /bin/bash -x /home/nemo/navit/contrib/sailfish/build_sailfish_ci.sh
+ - store_artifacts:
+ name: Store rpm
+ path: ../rpmbuild/RPMS/
build_android_arm:
working_directory: ~/code
docker:
@@ -257,6 +272,9 @@ workflows:
- build_android_arm:
requires:
- sanity_check
+ - build_sailfish:
+ requires:
+ - sanity_check
- build_win32:
requires:
- sanity_check