-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
69 lines (65 loc) · 4.33 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
os: linux
dist: focal
language: generic
services:
- docker
# env variable definitions
# DOCKER_ORG, IMAGE_NAME and IMAGE_TAG will determine which docker image is being used,
# see https://github.com/HorizenOfficial/sc-ci-base-docker#currently-available-tags-only-latest-shown
# for details on available tags.
# TESTS configures which test scripts to run from the ci/tests folder. The format is either comma
# separated substrings, matching on the filename ('001,002' evaluates to 001*.sh and 002*.sh), or '*'
# which evaluates to *.sh (all .sh files).
# CARGOARGS is passed like this 'cargo $CARGOARGS check|test|build' to all cargo commands in the test scripts.
# Additionally at container startup the version of Rust specified by CARGOARGS is also installed
# using rustup should it not yet be installed in the container flavor.
# RUST_CROSS_TARGETS comma separated list of targets to install, will be installed for all toolchains.
# RUSTUP_TOOLCHAIN another way to override the used Rust version, although CARGOARGS takes precedence, see:
# https://rust-lang.github.io/rustup/overrides.html
# RUSTFLAGS global rust compiler flags to set.
# By default empty env vars like RUSTFLAGS='' are not passed through to the docker container,
# if you want to pass empty vars set them to space like RUSTFLAGS=' '.
env:
global:
- DOCKER_ORG=zencash
- IMAGE_NAME=sc-ci-base
before_script: source ci/before_script.sh
script: ci/script.sh
jobs:
include:
#- name: bionic_rust-stable_latest
# env: IMAGE_TAG=bionic_rust-stable_latest TESTS='*' RUSTFLAGS=' '
#- name: bionic_rust-stable_latest_asm
# env: IMAGE_TAG=bionic_rust-stable_latest TESTS='*' RUSTFLAGS='--emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_build
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='006,007,008' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_cargo-test
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='001' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_examples
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='002' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_mc-test-cert
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='003' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_mc-test-cert-keyrot
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='004' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: bionic_rust-stable_latest_asm_target-feature_mc-test-csw
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='005' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
#- name: bionic_rust-nightly_latest
# env: IMAGE_TAG=bionic_rust-nightly_latest TESTS='*' CARGOARGS='+nightly' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
#- name: focal_rust-stable_latest
# env: IMAGE_TAG=focal_rust-stable_latest TESTS='*' RUSTFLAGS=' '
#- name: focal_rust-stable_latest_asm
# env: IMAGE_TAG=focal_rust-stable_latest TESTS='*' RUSTFLAGS='--emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_build
env: IMAGE_TAG=focal_rust-stable_latest TESTS='006,007,008' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_cargo-test
env: IMAGE_TAG=focal_rust-stable_latest TESTS='001' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_examples
env: IMAGE_TAG=focal_rust-stable_latest TESTS='002' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_mc-test-cert
env: IMAGE_TAG=focal_rust-stable_latest TESTS='003' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_mc-test-cert-keyrot
env: IMAGE_TAG=focal_rust-stable_latest TESTS='004' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
- name: focal_rust-stable_latest_asm_target-feature_mc-test-csw
env: IMAGE_TAG=focal_rust-stable_latest TESTS='005' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'
#- name: focal_rust-nightly_latest
# env: IMAGE_TAG=focal_rust-nightly_latest TESTS='*' CARGOARGS='+nightly' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm'