config.yml (navit-0.5.5) | : | config.yml (navit-0.5.6) | ||
---|---|---|---|---|
version: 2 | version: 2 | |||
defaults: &defaults | defaults: &defaults | |||
docker: | docker: | |||
- image: debian:latest | - image: debian:latest | |||
jobs: | jobs: | |||
sanity_check: | sanity_check: | |||
docker: | docker: | |||
- image: navit/sanity_check:latest | - image: circleci/android:api-29-ndk | |||
steps: | steps: | |||
- checkout | - checkout | |||
- run: | - run: | |||
name: run sanity check script | name: run sanity check script | |||
command: bash scripts/ci_sanity_checks.sh | command: bash scripts/ci_sanity_checks.sh | |||
- run: | - run: | |||
name: Run CheckStyle Test | name: Run CheckStyle Test | |||
command: ./gradlew checkstyleMain | command: ./gradlew checkstyleMain | |||
- store_artifacts: | - store_artifacts: | |||
name: Store checkstyle report | name: Store checkstyle report | |||
skipping to change at line 110 | skipping to change at line 110 | |||
name: Run Lint Test | name: Run Lint Test | |||
command: | | command: | | |||
ln -s navit/navit.dtd navit.dtd | ln -s navit/navit.dtd navit.dtd | |||
mkdir /home/circleci/code/test-results | mkdir /home/circleci/code/test-results | |||
./gradlew lint test | ./gradlew lint test | |||
- run: | - run: | |||
name: Run Javadoc | name: Run Javadoc | |||
command: ./gradlew generateDebugJavadoc | command: ./gradlew generateDebugJavadoc | |||
- store_artifacts: | - store_artifacts: | |||
name: Store APK | name: Store APK | |||
path: navit/android/build/outputs/apk | path: build/outputs/apk | |||
destination: apk | destination: apk | |||
- store_artifacts: | - store_artifacts: | |||
name: Store logs | name: Store logs | |||
path: navit/android/build/outputs/logs | path: build/outputs/logs | |||
destination: logs | destination: logs | |||
- store_artifacts: | - store_artifacts: | |||
name: Store Javadoc | name: Store Javadoc | |||
path: navit/android/build/outputs/docs/javadoc | path: build/outputs/docs/javadoc | |||
destination: doc | destination: doc | |||
- store_artifacts: | - store_artifacts: | |||
name: Store Lint reports | name: Store Lint reports | |||
path: navit/android/build/reports | path: build/reports | |||
destination: reports | destination: reports | |||
- store_test_results: | - store_test_results: | |||
path: test-results | path: test-results | |||
- run: | - run: | |||
name: Update Navit-Download-Center | name: Update Navit-Download-Center | |||
command: | | command: | | |||
bash scripts/update_download_center.sh | bash scripts/update_download_center.sh | |||
build_fdroid: | ||||
docker: | ||||
- image: registry.gitlab.com/fdroid/ci-images-client:latest | ||||
steps: | ||||
- checkout | ||||
- run: | ||||
name: Build with F-Droid | ||||
command: | | ||||
test -d build || mkdir build | ||||
test -d fdroidserver || mkdir fdroidserver | ||||
git ls-remote https://gitlab.com/fdroid/fdroidserver.git master | ||||
curl --silent https://gitlab.com/fdroid/fdroidserver/repository/mast | ||||
er/archive.tar.gz | tar -xz --directory=fdroidserver --strip-components=1 | ||||
export PATH="`pwd`/fdroidserver:$PATH" | ||||
export PYTHONPATH="$CI_PROJECT_DIR/fdroidserver:$CI_PROJECT_DIR/fdro | ||||
idserver/examples" | ||||
export PYTHONUNBUFFERED=true | ||||
bash fdroidserver/buildserver/setup-env-vars $ANDROID_HOME | ||||
adduser --disabled-password --gecos "" vagrant | ||||
ln -s $CI_PROJECT_DIR/fdroidserver /home/vagrant/fdroidserver | ||||
mkdir -p /vagrant/cache | ||||
wget -q https://services.gradle.org/distributions/gradle-5.6.2-bin.z | ||||
ip --output-document=/vagrant/cache/gradle-5.6.2-bin.zip | ||||
bash fdroidserver/buildserver/provision-gradle | ||||
bash fdroidserver/buildserver/provision-apt-get-install http://deb.d | ||||
ebian.org/debian | ||||
source /etc/profile.d/bsenv.sh | ||||
apt-get dist-upgrade | ||||
apt-get install -t stretch-backports fdroidserver python3-asn1crypto | ||||
python3-ruamel.yaml yamllint | ||||
apt-get purge fdroidserver | ||||
export GRADLE_USER_HOME=$PWD/.gradle | ||||
set -x | ||||
apt-get install sudo | ||||
fdroid build --verbose --on-server --no-tarball | ||||
- store_artifacts: | ||||
name: Store APK | ||||
path: unsigned | ||||
destination: apk | ||||
build_win32: | build_win32: | |||
docker: | docker: | |||
- image: ubuntu:14.04 | - image: ubuntu:14.04 | |||
steps: | steps: | |||
- checkout | - checkout | |||
- run: | | - run: | | |||
apt-get update && apt-get install -y git | apt-get update && apt-get install -y git | |||
if scripts/check_need_build.sh; then circleci step halt; fi | if scripts/check_need_build.sh; then circleci step halt; fi | |||
- run: | - run: | |||
name: Prepare the Windows build environment | name: Prepare the Windows build environment | |||
skipping to change at line 222 | skipping to change at line 256 | |||
name: Build for Tomtom (plugin) | name: Build for Tomtom (plugin) | |||
command: | | command: | | |||
bash scripts/build_tomtom_plugin.sh | bash scripts/build_tomtom_plugin.sh | |||
- store_artifacts: | - store_artifacts: | |||
path: /output | path: /output | |||
- run: | - run: | |||
name: Update Navit-Download-Center | name: Update Navit-Download-Center | |||
command: | | command: | | |||
bash scripts/update_download_center.sh | bash scripts/update_download_center.sh | |||
merge_trunk_in_master: | merge_trunk_in_master: | |||
<<: *defaults | docker: | |||
- image: cimg/base:2020.01 | ||||
steps: | steps: | |||
- checkout | - checkout | |||
- run: | - run: | |||
name: Install git | ||||
command: apt-get update && apt-get -y install ca-certificates git | ||||
- run: | ||||
name: configure ssh git | name: configure ssh git | |||
command: mkdir -p ~/.ssh/ && ssh-keyscan -t rsa github.com >> ~/.ssh/k nown_hosts | command: mkdir -p ~/.ssh/ && ssh-keyscan -t rsa github.com >> ~/.ssh/k nown_hosts | |||
- add_ssh_keys: | - add_ssh_keys: | |||
fingerprints: | fingerprints: | |||
- "58:42:73:90:cc:68:f7:34:7e:37:37:fa:b3:26:1f:a5" | - "58:42:73:90:cc:68:f7:34:7e:37:37:fa:b3:26:1f:a5" | |||
- run: | - run: | |||
name: Update results to Github | name: Update results to Github | |||
command: export GIT_TERMINAL_PROMPT=0 && git push origin $CIRCLE_SHA1: refs/heads/master | command: export GIT_TERMINAL_PROMPT=0 && git push origin $CIRCLE_SHA1: refs/heads/master | |||
check_spelling: | check_spelling: | |||
<<: *defaults | <<: *defaults | |||
skipping to change at line 270 | skipping to change at line 302 | |||
version: 2 | version: 2 | |||
build_all: | build_all: | |||
jobs: | jobs: | |||
- sanity_check | - sanity_check | |||
- build_linux: | - build_linux: | |||
requires: | requires: | |||
- sanity_check | - sanity_check | |||
- build_android: | - build_android: | |||
requires: | requires: | |||
- sanity_check | - sanity_check | |||
- build_fdroid: | ||||
requires: | ||||
- sanity_check | ||||
- build_sailfish: | - build_sailfish: | |||
requires: | requires: | |||
- sanity_check | - sanity_check | |||
- build_win32: | - build_win32: | |||
requires: | requires: | |||
- sanity_check | - sanity_check | |||
- build_wince: | - build_wince: | |||
requires: | requires: | |||
- sanity_check | - sanity_check | |||
- build_tomtom_minimal: | - build_tomtom_minimal: | |||
End of changes. 9 change blocks. | ||||
9 lines changed or deleted | 49 lines changed or added |