working on sqrt_rsqrt_kernel
[vector-math.git] / .gitlab-ci.yml
1 variables:
2 XDG_CACHE_HOME: $CI_PROJECT_DIR/.cache
3 CARGO_HOME: $CI_PROJECT_DIR/.cache/.cargo
4 RUST_BACKTRACE: 1
5
6 stages:
7 - build
8
9 rust-latest:
10 stage: build
11 image: rust:latest
12 script:
13 - cargo build --verbose --no-default-features --features="$FEATURES"
14 - cargo test --verbose --no-default-features --features="$FEATURES"
15 parallel:
16 matrix:
17 - FEATURES: ["", "fma,ir", "f16,ir", "fma,f16,ir"]
18 cache:
19 paths:
20 - .cache
21
22 rust-latest-release:
23 stage: build
24 image: rust:latest
25 script:
26 - cargo build --verbose --release --no-default-features --features="$FEATURES"
27 - cargo test --verbose --release --no-default-features --features="$FEATURES"
28 parallel:
29 matrix:
30 - FEATURES:
31 [
32 "",
33 "fma,ir",
34 "f16,ir",
35 "fma,f16,ir",
36 "full_tests",
37 "full_tests,fma",
38 "full_tests,fma,f16",
39 "full_tests,f16",
40 ]
41 cache:
42 paths:
43 - .cache
44
45 rust-nightly:
46 stage: build
47 image: rustlang/rust:nightly
48 script:
49 - cargo build --verbose --no-default-features --features="$FEATURES"
50 - cargo test --verbose --no-default-features --features="$FEATURES"
51 parallel:
52 matrix:
53 - FEATURES: ["stdsimd,fma,ir", "stdsimd,ir"]
54 cache:
55 paths:
56 - .cache