Skip to content

Commit 0ef0e10

Browse files
committed
ci: re-enable freebsd coverage
1 parent 197537d commit 0ef0e10

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.cirrus.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
task:
22
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_PR != ''
3+
environment:
4+
CODECOV_TOKEN: ENCRYPTED[cfd48b16731c254067ef7b39a7083384127a594c6ad52e51cc32982da2eb8cc67c0a54f69736c29559a28664c615ab99]
35
matrix:
4-
#- name: FreeBSD 11.3
5-
# freebsd_instance:
6-
# image_family: freebsd-11-3-snap
7-
- name: FreeBSD 12.1
6+
- name: FreeBSD 12.4
87
freebsd_instance:
9-
image_family: freebsd-12-1-snap
10-
- name: FreeBSD 13.0
8+
image_family: freebsd-12-4
9+
- name: FreeBSD 13.2
1110
freebsd_instance:
12-
image_family: freebsd-13-0-snap
11+
image_family: freebsd-13-2
12+
- name: FreeBSD 14.0
13+
freebsd_instance:
14+
image_family: freebsd-14-0
1315
# Install Rust
1416
setup_script:
1517
- fetch https://sh.rustup.rs -o rustup.sh
@@ -19,9 +21,6 @@ task:
1921
- rustup component add llvm-tools-preview
2022
test_script:
2123
- . $HOME/.cargo/env
22-
- cargo test --all-features
23-
# coverage is disabled for now
24-
# see https://github.com/rust-lang/rust/issues/94616
25-
# - env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Zinstrument-coverage" cargo test --all-features
26-
# - grcov . --binary-path ./target/debug -s . -t lcov --branch --llvm --ignore-not-existing --keep-only "src/sys/*" --excl-br-start "mod tests \{" --excl-start "mod tests \{" --excl-br-line "#\[derive\(" --excl-line "#\[derive\(" -o lcov.info
27-
# - bash -c 'bash <(curl -s https://codecov.io/bash) -f lcov.info'
24+
- env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Zinstrument-coverage" cargo test --all-features
25+
- grcov . --binary-path ./target/debug -s . -t lcov --branch --llvm --ignore-not-existing --keep-only "src/sys/*" --excl-br-start "mod tests \{" --excl-start "mod tests \{" --excl-br-line "#\[derive\(" --excl-line "#\[derive\(" -o lcov.info
26+
- bash -c 'bash <(curl -s https://codecov.io/bash) -f lcov.info'

0 commit comments

Comments
 (0)