1task:
2  name: nightly x86_64-unknown-freebsd-10
3  freebsd_instance:
4    image: freebsd-10-4-release-amd64
5  setup_script:
6    - pkg install -y curl
7    - curl https://sh.rustup.rs -sSf --output rustup.sh
8    - sh rustup.sh --default-toolchain nightly -y --profile=minimal
9    - . $HOME/.cargo/env
10    - rustup default nightly
11  test_script:
12    - . $HOME/.cargo/env
13    - LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
14
15task:
16  name: stable x86_64-unknown-freebsd-11
17  freebsd_instance:
18    image: freebsd-11-3-stable-amd64-v20200213
19  setup_script:
20    - pkg install -y curl
21    - curl https://sh.rustup.rs -sSf --output rustup.sh
22    - sh rustup.sh -y --profile=minimal
23    - . $HOME/.cargo/env
24    - rustup default stable
25  test_script:
26    - . $HOME/.cargo/env
27    - LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
28    - sh ci/run.sh x86_64-unknown-freebsd
29
30task:
31  name: nightly x86_64-unknown-freebsd-12
32  freebsd_instance:
33    image: freebsd-12-1-release-amd64
34  setup_script:
35    - pkg install -y curl
36    - curl https://sh.rustup.rs -sSf --output rustup.sh
37    - sh rustup.sh --default-toolchain nightly -y --profile=minimal
38    - . $HOME/.cargo/env
39    - rustup default nightly
40  test_script:
41    - . $HOME/.cargo/env
42    - LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
43    - sh ci/run.sh x86_64-unknown-freebsd
44