-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2302 from CosmWasm/mergify/bp/release/2.0/pr-2301
[2.0] Fix CI (backport #2301)
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
codecov: codecov/codecov@3.2.5 | ||
codecov: codecov/codecov@4.1.0 | ||
win: circleci/[email protected] | ||
|
||
commands: | ||
|
@@ -108,7 +108,7 @@ workflows: | |
jobs: | ||
arm64: | ||
machine: | ||
image: ubuntu-2004:202101-01 | ||
image: ubuntu-2204:2024.01.1 | ||
resource_class: arm.large | ||
steps: | ||
- checkout | ||
|
@@ -843,7 +843,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 | ||
|
@@ -954,10 +954,18 @@ jobs: | |
|
||
coverage: | ||
docker: | ||
- image: rust:1.73.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: | | ||
|
@@ -977,6 +985,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 | ||
|