File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 pull_request :
33 merge_group :
44
5- name : PR Check
5+ name : CI Check
66
77env :
88 CARGO_TERM_COLOR : always
9+ HOST : x86_64-unknown-linux-gnu
10+ FEATURES : " test docs"
911 RUSTFLAGS : " -D warnings"
1012
1113jobs :
2325 components : clippy
2426 - uses : Swatinem/rust-cache@v2
2527 - run : cargo clippy --features docs
28+ tests :
29+ if : ${{ github.event_name == 'merge_group' }}
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ rust :
34+ - stable
35+ - beta
36+ - nightly
37+ - 1.51.0 # MSRV
38+
39+ steps :
40+ - uses : actions/checkout@v4
41+ - uses : dtolnay/rust-toolchain@master
42+ with :
43+ toolchain : ${{ matrix.rust }}
44+ - uses : Swatinem/rust-cache@v2
45+ - name : Install openblas
46+ run : sudo apt-get install libopenblas-dev gfortran
47+ - run : ./scripts/all-tests.sh "$FEATURES" ${{ matrix.rust }}
48+
49+ cross_test :
50+ if : ${{ github.event_name == 'merge_group' }}
51+ runs-on : ubuntu-latest
52+ strategy :
53+ matrix :
54+ include :
55+ - rust : stable
56+ target : powerpc-unknown-linux-gnu
57+ - rust : stable
58+ target : i686-unknown-linux-gnu
59+
60+ steps :
61+ - uses : actions/checkout@v4
62+ - uses : dtolnay/rust-toolchain@master
63+ with :
64+ toolchain : ${{ matrix.rust }}
65+ targets : ${{ matrix.target }}
66+ - uses : Swatinem/rust-cache@v2
67+ - name : Install cross
68+ run : cargo install cross
69+ - run : ./scripts/cross-tests.sh "docs" ${{ matrix.rust }} ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments