From 43f5f7c38349f67d00e6c1fd12901eb1f03042fb Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Mon, 11 Mar 2024 16:22:49 +1100 Subject: [PATCH] chore(ci): remove cirrus Cirrus is always out of credit, so I am removing it. GitHub is slowly adding support for ARM architecture. Signed-off-by: JP-Ellis --- .cirrus.yml | 55 ----------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index dbd648868b..0000000000 --- a/.cirrus.yml +++ /dev/null @@ -1,55 +0,0 @@ -TEST_TEMPLATE: &TEST_TEMPLATE - skip: $CIRRUS_PR_DRAFT == "true" - arch_check_script: - - uname -am - test_script: - - python --version - # TODO: Fix lints before enabling - - echo hatch run lint - - echo hatch run typecheck - - echo hatch run format - - hatch run test - -linux_arm64_task: - env: - PATH: ${HOME}/.local/bin:${PATH} - CIRRUS_CLONE_SUBMODULES: "true" - HATCH_VERBOSE: 1 - matrix: - - IMAGE: "python:3.8-slim" - - IMAGE: "python:3.9-slim" - - IMAGE: "python:3.10-slim" - - IMAGE: "python:3.11-slim" - - IMAGE: "python:3.12-slim" - arm_container: - image: $IMAGE - install_script: - - apt update --yes - - apt install --yes gcc make g++ - - python -m pip install --upgrade pip pipx - - pipx install hatch - <<: *TEST_TEMPLATE - -macosx_arm64_task: - macos_instance: - image: ghcr.io/cirruslabs/macos-ventura-base:latest - env: - PATH: ${HOME}/.local/bin:${HOME}/.pyenv/shims:${PATH} - CIRRUS_CLONE_SUBMODULES: "true" - matrix: - - PYTHON: "3.8" - - PYTHON: "3.9" - - PYTHON: "3.10" - - PYTHON: "3.11" - - PYTHON: "3.12" - install_script: - - brew update - - brew install pyenv - - pyenv install ${PYTHON} - - pyenv global ${PYTHON} - - pyenv rehash - - python -m pip install --upgrade pip pipx - - pyenv rehash - - pipx install hatch - - pyenv rehash - <<: *TEST_TEMPLATE