Browse Source

(trivial) CI: rename tasks

master
SomberNight 2 years ago
parent
commit
19718001e4
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 26
      .cirrus.yml

26
.cirrus.yml

@ -4,7 +4,7 @@ task:
cpu: 1 cpu: 1
memory: 2G memory: 2G
matrix: matrix:
- name: Tox Python $ELECTRUM_PYTHON_VERSION - name: "unittests: Tox Python $ELECTRUM_PYTHON_VERSION"
env: env:
ELECTRUM_IMAGE: python:$ELECTRUM_PYTHON_VERSION ELECTRUM_IMAGE: python:$ELECTRUM_PYTHON_VERSION
TOXENV: py3 TOXENV: py3
@ -18,7 +18,7 @@ task:
ELECTRUM_PYTHON_VERSION: 3.10 ELECTRUM_PYTHON_VERSION: 3.10
- env: - env:
ELECTRUM_PYTHON_VERSION: 3.11 ELECTRUM_PYTHON_VERSION: 3.11
- name: Tox Python 3 debug mode - name: "unittests: Tox Python 3 debug mode"
env: env:
ELECTRUM_PYTHON_VERSION: 3 ELECTRUM_PYTHON_VERSION: 3
# enable additional checks: # enable additional checks:
@ -56,7 +56,7 @@ task:
- Flake8 Mandatory - Flake8 Mandatory
task: task:
name: Locale name: "locale: upload to crowdin"
container: container:
image: $ELECTRUM_IMAGE image: $ELECTRUM_IMAGE
cpu: 1 cpu: 1
@ -80,7 +80,7 @@ task:
only_if: $CIRRUS_BRANCH == 'master' only_if: $CIRRUS_BRANCH == 'master'
task: task:
name: Regtest functional tests name: "Regtest functional tests"
compute_engine_instance: compute_engine_instance:
image_project: cirrus-images image_project: cirrus-images
image: family/docker-builder image: family/docker-builder
@ -135,7 +135,7 @@ task:
ELECTRUM_IMAGE: python:3.8 ELECTRUM_IMAGE: python:3.8
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements.txt ELECTRUM_REQUIREMENTS: contrib/requirements/requirements.txt
matrix: matrix:
- name: Flake8 Mandatory - name: "linter: Flake8 Mandatory"
env: env:
# list of error codes: # list of error codes:
# - https://flake8.pycqa.org/en/latest/user/error-codes.html # - https://flake8.pycqa.org/en/latest/user/error-codes.html
@ -143,14 +143,14 @@ task:
# - https://github.com/PyCQA/flake8-bugbear/tree/8c0e7eb04217494d48d0ab093bf5b31db0921989#list-of-warnings # - https://github.com/PyCQA/flake8-bugbear/tree/8c0e7eb04217494d48d0ab093bf5b31db0921989#list-of-warnings
ELECTRUM_LINTERS: E9,E101,E129,E273,E274,E703,E71,F63,F7,F82,W191,W29,B ELECTRUM_LINTERS: E9,E101,E129,E273,E274,E703,E71,F63,F7,F82,W191,W29,B
ELECTRUM_LINTERS_IGNORE: B007,B009,B010,B019 ELECTRUM_LINTERS_IGNORE: B007,B009,B010,B019
- name: Flake8 Non-Mandatory - name: "linter: Flake8 Non-Mandatory"
env: env:
ELECTRUM_LINTERS: E,F,W,C90,B ELECTRUM_LINTERS: E,F,W,C90,B
ELECTRUM_LINTERS_IGNORE: "" ELECTRUM_LINTERS_IGNORE: ""
allow_failures: true allow_failures: true
task: task:
name: Windows build name: "build: Windows"
container: container:
dockerfile: contrib/build-wine/Dockerfile dockerfile: contrib/build-wine/Dockerfile
cpu: 1 cpu: 1
@ -181,7 +181,7 @@ task:
- Tox Python 3.8 - Tox Python 3.8
task: task:
name: Android build (QML $APK_ARCH) name: "build: Android (QML $APK_ARCH)"
container: container:
dockerfile: contrib/android/Dockerfile dockerfile: contrib/android/Dockerfile
cpu: 8 cpu: 8
@ -210,7 +210,7 @@ task:
## 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:
# name: MacOS build # name: "build: macOS"
# macos_instance: # macos_instance:
# image: catalina-xcode-11.3.1 # image: catalina-xcode-11.3.1
# env: # env:
@ -240,7 +240,7 @@ task:
# path: "dist/*" # path: "dist/*"
task: task:
name: AppImage build name: "build: AppImage"
container: container:
dockerfile: contrib/build-linux/appimage/Dockerfile dockerfile: contrib/build-linux/appimage/Dockerfile
cpu: 2 cpu: 2
@ -282,15 +282,15 @@ task:
binaries_artifacts: binaries_artifacts:
path: "dist/*" path: "dist/*"
matrix: matrix:
- name: tarball build - name: "build: tarball"
- name: source-only tarball build - name: "build: source-only tarball"
env: env:
OMIT_UNCLEAN_FILES: 1 OMIT_UNCLEAN_FILES: 1
depends_on: depends_on:
- Tox Python 3.8 - Tox Python 3.8
task: task:
name: Submodules name: "check submodules"
container: container:
image: python:3.8 image: python:3.8
cpu: 1 cpu: 1

Loading…
Cancel
Save