File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
3
orbs :
4
- codecov : codecov/codecov@3.2.5
4
+ codecov : codecov/codecov@4.1.0
5
5
win : circleci/windows@5.0
6
6
7
7
commands :
@@ -1089,13 +1089,18 @@ jobs:
1089
1089
1090
1090
coverage :
1091
1091
docker :
1092
- - image : rust:1.74.0
1092
+ - image : rust:1.78.0-alpine3.19
1093
1093
environment :
1094
1094
# Limit the number of parallel jobs to avoid OOM crashes during doc testing
1095
1095
RUST_TEST_THREADS : 8
1096
1096
resource_class : medium+
1097
1097
steps :
1098
1098
- checkout
1099
+ - run :
1100
+ name : Install necessary packages
1101
+ command : |
1102
+ apk update
1103
+ apk add mold clang curl coreutils gnupg
1099
1104
- run :
1100
1105
name : Install grcov
1101
1106
command : |
@@ -1114,8 +1119,11 @@ jobs:
1114
1119
grcov . -s packages/std --binary-path ./target/debug -t lcov -o ./reports/std.info
1115
1120
grcov . -s packages/vm --binary-path ./target/debug -t lcov -o ./reports/vm.info
1116
1121
environment :
1117
- RUSTFLAGS : " -Cinstrument-coverage"
1122
+ RUSTFLAGS : " -Clinker=clang -Clink-arg=-fuse-ld=/usr/bin/mold - Cinstrument-coverage"
1118
1123
LLVM_PROFILE_FILE : " cosmwasm-%p-%m.profraw"
1124
+ - run :
1125
+ name : Quick fix for GPG error in Codecov
1126
+ command : mkdir -p ~/.gnupg
1119
1127
- codecov/upload :
1120
1128
file : reports/core.info
1121
1129
flags : cosmwasm-core
You can’t perform that action at this time.
0 commit comments