CI: add some task dependencies
run linter first, then tests, then binary builds
This commit is contained in:
14
.cirrus.yml
14
.cirrus.yml
@@ -60,6 +60,8 @@ task:
|
|||||||
CI_BRANCH: $CIRRUS_BRANCH
|
CI_BRANCH: $CIRRUS_BRANCH
|
||||||
CI_PULL_REQUEST: $CIRRUS_PR
|
CI_PULL_REQUEST: $CIRRUS_PR
|
||||||
# in addition, COVERALLS_REPO_TOKEN is set as an "override" in https://cirrus-ci.com/settings/...
|
# in addition, COVERALLS_REPO_TOKEN is set as an "override" in https://cirrus-ci.com/settings/...
|
||||||
|
depends_on:
|
||||||
|
- Flake8 Mandatory
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: Locale
|
name: Locale
|
||||||
@@ -122,6 +124,8 @@ task:
|
|||||||
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements.txt
|
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements.txt
|
||||||
# ElectrumX exits with an error without this:
|
# ElectrumX exits with an error without this:
|
||||||
ALLOW_ROOT: 1
|
ALLOW_ROOT: 1
|
||||||
|
depends_on:
|
||||||
|
- Flake8 Mandatory
|
||||||
|
|
||||||
task:
|
task:
|
||||||
container:
|
container:
|
||||||
@@ -181,6 +185,8 @@ task:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_WORKING_DIR: /opt/wine64/drive_c/electrum
|
CIRRUS_WORKING_DIR: /opt/wine64/drive_c/electrum
|
||||||
CIRRUS_DOCKER_CONTEXT: contrib/build-wine
|
CIRRUS_DOCKER_CONTEXT: contrib/build-wine
|
||||||
|
depends_on:
|
||||||
|
- Tox Python 3.8
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: Android build (Kivy $APK_ARCH)
|
name: Android build (Kivy $APK_ARCH)
|
||||||
@@ -207,6 +213,8 @@ task:
|
|||||||
- ./contrib/android/make_apk.sh kivy "$APK_ARCH" debug
|
- ./contrib/android/make_apk.sh kivy "$APK_ARCH" debug
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "dist/*"
|
path: "dist/*"
|
||||||
|
depends_on:
|
||||||
|
- Tox Python 3.8
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: Android build (QML $APK_ARCH)
|
name: Android build (QML $APK_ARCH)
|
||||||
@@ -233,6 +241,8 @@ task:
|
|||||||
- ./contrib/android/make_apk.sh qml "$APK_ARCH" debug
|
- ./contrib/android/make_apk.sh qml "$APK_ARCH" debug
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "dist/*"
|
path: "dist/*"
|
||||||
|
depends_on:
|
||||||
|
- Tox Python 3.8
|
||||||
|
|
||||||
## mac build disabled, as Cirrus CI no longer supports Intel-based mac builds
|
## mac build disabled, as Cirrus CI no longer supports Intel-based mac builds
|
||||||
#task:
|
#task:
|
||||||
@@ -289,6 +299,8 @@ task:
|
|||||||
path: "dist/*"
|
path: "dist/*"
|
||||||
env:
|
env:
|
||||||
CIRRUS_DOCKER_CONTEXT: contrib/build-linux/appimage
|
CIRRUS_DOCKER_CONTEXT: contrib/build-linux/appimage
|
||||||
|
depends_on:
|
||||||
|
- Tox Python 3.8
|
||||||
|
|
||||||
task:
|
task:
|
||||||
container:
|
container:
|
||||||
@@ -310,6 +322,8 @@ task:
|
|||||||
- name: source-only tarball build
|
- name: source-only tarball build
|
||||||
env:
|
env:
|
||||||
OMIT_UNCLEAN_FILES: 1
|
OMIT_UNCLEAN_FILES: 1
|
||||||
|
depends_on:
|
||||||
|
- Tox Python 3.8
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: Submodules
|
name: Submodules
|
||||||
|
|||||||
Reference in New Issue
Block a user