diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index b71b381..0000000 --- a/.cirrus.yml +++ /dev/null @@ -1,69 +0,0 @@ -build_packages_task: - only_if: ${CIRRUS_TAG} == '' - timeout_in: 120m - - compute_engine_instance: - platform: linux - cpu: 4 - memory: 8G - image_project: cirrus-images - matrix: - - name: 'Linux x86_64' - image: family/docker-builder - - name: 'Linux aarch64' - image: family/docker-builder-arm64 - architecture: arm64 - - clone_script: | - git clone -b "${CIRRUS_BRANCH}" https://github.com/adonis0147/devel-env - cd devel-env - git fetch --tags - - prepare_script: | - cd devel-env - - while read -r tag; do - url="https://github.com/adonis0147/devel-env/releases/download/${tag}/install_toolchain_$(uname -m).sh" - if curl --silent --head --fail -L "${url}" -o /dev/null; then - break - fi - done < <(git tag --sort=creatordate | tac) - - echo "Download the toolchain from ${url}" - curl -L "${url}" -o devel/scripts/install_toolchain.sh - chmod a+x devel/scripts/install_toolchain.sh - - devel/downloads/download_packages.sh - - # Don't install llvm - sed -i '/function install_packages/,/^}/ s/llvm//' devel/scripts/install.sh - - if [[ "$(uname -m)" != 'x86_64' ]]; then - # Don't install neovim - sed -i '/function install_packages/,/^}/ s/neovim//' devel/scripts/install.sh - fi - - # Don't install zsh - sed -i '/function install_packages/,/^}/ s/zsh//' devel/scripts/install.sh - - script: | - if [[ "$(uname -m)" == 'x86_64' ]]; then - cmd="sed -i -e 's|mirrorlist=|#mirrorlist=|' -e 's|#baseurl=http://mirror.centos.org/centos/\$releasever|baseurl=https://vault.centos.org/7.9.2009|' /etc/yum.repos.d/CentOS-Base.repo" - else - cmd="sed -i -e 's|mirrorlist=|#mirrorlist=|' -e 's|#baseurl=http://mirror.centos.org/altarch|baseurl=https://vault.centos.org/altarch|' /etc/yum.repos.d/CentOS-Base.repo" - fi - - cat >>Dockerfile <