summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_cranelift/.cirrus.yml
blob: d627c2ee09c4ef7555f820cc2a239b73c3133269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
task:
  name: freebsd
  freebsd_instance:
    image: freebsd-12-1-release-amd64
  setup_rust_script:
    - pkg install -y curl git bash
    - curl https://sh.rustup.rs -sSf --output rustup.sh
    - sh rustup.sh --default-toolchain none -y --profile=minimal
  cargo_bin_cache:
    folder: ~/.cargo/bin
  target_cache:
    folder: target
  prepare_script:
    - . $HOME/.cargo/env
    - ./y.rs prepare
  test_script:
    - . $HOME/.cargo/env
    - # Enable backtraces for easier debugging
    - export RUST_BACKTRACE=1
    - # Reduce amount of benchmark runs as they are slow
    - export COMPILE_RUNS=2
    - export RUN_RUNS=2
    - ./y.rs test