Skip to content

Commit

Permalink
ci(bsd): Fix FreeBSD CI
Browse files Browse the repository at this point in the history
* Changes "-Zinstrument-coverage" to "-Cinstrument-coverage"

* Removes FreeBSD 12 from CI, 
  https://www.freebsd.org/security/unsupported/ I think it's EOL

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull authored Jan 13, 2024
1 parent e4c8c5c commit 67b9308
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ task:
environment:
CODECOV_TOKEN: ENCRYPTED[cfd48b16731c254067ef7b39a7083384127a594c6ad52e51cc32982da2eb8cc67c0a54f69736c29559a28664c615ab99]
matrix:
- name: FreeBSD 12.4
freebsd_instance:
image_family: freebsd-12-4
- name: FreeBSD 13.2
freebsd_instance:
image_family: freebsd-13-2
Expand All @@ -21,6 +18,6 @@ task:
- rustup component add llvm-tools-preview
test_script:
- . $HOME/.cargo/env
- env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Zinstrument-coverage" cargo test --all-features
- env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Cinstrument-coverage --cfg coverage" cargo test --all-features
- grcov . --binary-path ./target/debug -s . -t lcov --branch --llvm --ignore-not-existing --keep-only "src/*" --excl-br-start "mod tests \{" --excl-start "mod tests \{" --excl-br-line "#\[derive\(" --excl-line "#\[derive\(" -o lcov.info
- bash -c 'bash <(curl -s https://codecov.io/bash) -f lcov.info' -F freebsd

0 comments on commit 67b9308

Please sign in to comment.