Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switching to circleci v2 * Only build for Linux for now * Sudo is not required anymore * Update before installing packages * Cope with non interactive terminals * Use ci's working_directory * Fixed typo * Disable QT5 for now * Build for more platforms * Fixed workflow definition * sudo is not required anymore * Update before installing * Install wget when building for tomtom * Revert to 14.04 base image * Install unzip for build_tomtom_* * Install wget for build_android_* * Install wget for build_android_* * Install cmake for win32 build * Install gettext for the win32 build * Install build-essential for tomtom builds * Setup common requirements * Install packages to build tt environment install packages need to build tt environment correct navit path remove arm-genmarshal which disturbing a second build run * Splitting the tomtom builds into more steps * Splitting the tomtom builds into more steps * Working on the tomtom minimal build * Fixed some paths issues for tomtom_minimal * Added missing exports for tomtom_minimal * Added missing tomtom requirements * Save the result of the tomtom_minimal build * Fixing the tomtom plugin build for CI v2 * Fixed job name misconfiguration * Use less relative paths * Fixed espeakdsp.c path * Adding tomtom assets * Removed superfluous popd * Fixed contrib path * Adding tomtom assets * Compile espeakdsp directly to the correct path * Compile espeakdsp directly to the correct path * Compile espeakdsp directly to the correct path * Recursively copy contrib/tomtom assets * Fixed tomtom specific icons path * Preparing the android ARM build for CI v2 * Adapting build path * Added missing packages for android builds * Updating android x86 scripts for ci v2 * Android-25 will require jdk-8 * Install openjdk-8 for Ubuntu 14.04 * Ensures that add-apt is available for android builds * Cope with non interactive terminals * Ensures that openjdk-7 isn't installed * Updated artifacts for ci v2 / android arm * Fixed apk path for ci_v2 * Fixed leftovers path for ci_v2 * Fixed artifacts path for android arm * Fixed typos * Fixed toolchain misconfiguration * Specify android's api/nkd api versions * Fixed apk path for ci_v2 * Store android/x86 artifacts
- Loading branch information
Showing
20 changed files
with
376 additions
and
716 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,107 @@ | ||
version: 2 | ||
defaults: &defaults | ||
docker: | ||
- image: ubuntu:14.04 | ||
|
||
jobs: | ||
build_linux: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build for Linux | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
bash ci/build_linux.sh | ||
build_android_arm: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Setup common requirements | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
- run: | ||
name: Prepare the Android build environment | ||
command: | | ||
bash ci/setup_android.sh | ||
- run: | ||
name: Build for Android ARM | ||
command: | | ||
bash ci/build_android.sh | ||
- store_artifacts: | ||
path: android-arm/navit | ||
build_android_x86: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Setup common requirements | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
- run: | ||
name: Prepare the Android build environment | ||
command: | | ||
bash ci/setup_android.sh | ||
- run: | ||
name: Build for Android X86 | ||
command: | | ||
bash ci/build_android_x86.sh | ||
- store_artifacts: | ||
path: android-x86/navit | ||
build_win32: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build for Windows | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
bash ci/build_win32.sh | ||
build_tomtom_minimal: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Setup common requirements | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
- run: | ||
name: Build the Tomtom toolchain | ||
command: | | ||
bash ci/setup_tomtom_requirements.sh | ||
- run: | ||
name: Build for Tomtom (minimal) | ||
command: | | ||
bash ci/build_tomtom_minimal.sh | ||
- store_artifacts: | ||
path: /tmp/tomtom/sdcard | ||
build_tomtom_plugin: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- run: | ||
name: Setup common requirements | ||
command: | | ||
bash ci/setup_common_requirements.sh | ||
- run: | ||
name: Build the Tomtom toolchain | ||
command: | | ||
bash ci/setup_tomtom_requirements.sh | ||
- run: | ||
name: Build for Tomtom (plugin) | ||
command: | | ||
bash ci/build_tomtom_plugin.sh | ||
- store_artifacts: | ||
path: /tmp/tomtom/sdcard | ||
|
||
workflows: | ||
version: 2 | ||
build_all: | ||
jobs: | ||
- build_linux | ||
- build_android_arm | ||
- build_android_x86 | ||
- build_win32 | ||
- build_tomtom_minimal | ||
- build_tomtom_plugin |
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
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
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
Oops, something went wrong.