From 2cc3923c341fe75d38d15387d5083be9f2c4f49e Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 25 Nov 2024 21:03:35 +0700 Subject: [PATCH 1/3] Update Rust version of coverage job --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0314ba4e2..e31182c31b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -967,7 +967,7 @@ jobs: coverage: docker: - - image: rust:1.72.0 + - image: rust:1.74.0 steps: - checkout - run: From 555cd2c46ae46db2fb680eb32b803581ee3665bc Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Tue, 12 Mar 2024 08:56:37 +0100 Subject: [PATCH 2/3] Fix CI --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e31182c31b..a266eaea3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -109,7 +109,7 @@ workflows: jobs: arm64: machine: - image: ubuntu-2004:202101-01 + image: ubuntu-2204:2024.01.1 resource_class: arm.large steps: - checkout @@ -848,7 +848,7 @@ jobs: command: apt update && apt install -y python3-pip - run: name: Install dependencies - command: pip3 install requests bs4 + command: pip3 install requests bs4 --break-system-packages - run: name: Check dead links command: devtools/deadlinks.py From 9eef309032153b898c1c687921b4cf0dc86bd1fd Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 25 Nov 2024 21:15:27 +0700 Subject: [PATCH 3/3] Fix codecov job --- .circleci/config.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a266eaea3d..97fd1315ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - codecov: codecov/codecov@3.2.5 + codecov: codecov/codecov@4.1.0 win: circleci/windows@5.0 commands: @@ -967,9 +967,18 @@ jobs: coverage: docker: - - image: rust:1.74.0 + - image: rust:1.82.0-alpine3.19 + environment: + # Limit the number of parallel jobs to avoid OOM crashes during doc testing + RUST_TEST_THREADS: 8 + resource_class: medium+ steps: - checkout + - run: + name: Install necessary packages + command: | + apk update + apk add mold clang curl coreutils gnupg - run: name: Install grcov command: | @@ -990,6 +999,9 @@ jobs: environment: RUSTFLAGS: "-Cinstrument-coverage" LLVM_PROFILE_FILE: "cosmwasm-%p-%m.profraw" + - run: + name: Quick fix for GPG error in Codecov + command: mkdir -p ~/.gnupg - codecov/upload: file: reports/crypto.info flags: cosmwasm-crypto