Skip to content

Commit 2f58d9f

Browse files
authored
Reenable FreeBSD CI with correct image family (#540)
The issue was using snapshots of already released versions, which is not supported.
1 parent 0b9df82 commit 2f58d9f

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.cirrus.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
# Implementation derived from `.cirrus.yml` in Rust's libc bindings
22
# at revision 7f4774e76bd5cb9ccb7140d71ef9be9c16009cdf.
33

4-
# Disable FreeBSD testing for now, as we currently hit this error:
5-
#
6-
# [4/4] Extracting curl-7.87.0_1: .......... done
7-
# curl https://sh.rustup.rs -sSf --output rustup.sh
8-
# ld-elf.so.1: /usr/local/lib/libcurl.so.4: Undefined symbol "nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation"
9-
10-
#task:
11-
# name: stable x86_64-unknown-freebsd-13
12-
# freebsd_instance:
13-
# image_family: freebsd-13-0-snap
14-
# setup_script:
15-
# - pkg install -y curl
16-
# - curl https://sh.rustup.rs -sSf --output rustup.sh
17-
# - sh rustup.sh --default-toolchain stable -y --profile=minimal
18-
# - . $HOME/.cargo/env
19-
# - rustup default stable
20-
# test_script:
21-
# - . $HOME/.cargo/env
22-
# - cargo test --workspace --features=all-apis
4+
task:
5+
name: stable x86_64-unknown-freebsd-13
6+
freebsd_instance:
7+
image_family: freebsd-13-1
8+
setup_script:
9+
- pkg install -y curl
10+
- curl https://sh.rustup.rs -sSf --output rustup.sh
11+
- sh rustup.sh --default-toolchain stable -y --profile=minimal
12+
- . $HOME/.cargo/env
13+
- rustup default stable
14+
test_script:
15+
- . $HOME/.cargo/env
16+
- cargo test --workspace --features=all-apis

0 commit comments

Comments
 (0)