11on :
2- push :
3- branches : [ staging, trying, master ]
4- pull_request :
2+ push : # Run CI for all branches except GitHub merge queue tmp branches
3+ branches-ignore :
4+ - " gh-readonly-queue/**"
5+ pull_request : # Run CI for PRs on any branch
6+ merge_group : # Run CI for the GitHub merge queue
57
6- name : CI
8+ name : Build
79
810env :
911 RUSTFLAGS : ' --deny warnings'
1012
1113jobs :
12- ci-linux :
13- name : CI
14+ build :
1415 runs-on : ubuntu-latest
1516 strategy :
1617 matrix :
1718 rust : [stable]
1819 FEATURES : ["", "--features=async-tokio", "--features=mio-evented"]
1920 TARGET :
2021 - aarch64-unknown-linux-gnu
22+ - aarch64-unknown-linux-musl
2123 - arm-unknown-linux-gnueabi
24+ - arm-unknown-linux-gnueabihf
2225 - armv7-unknown-linux-gnueabihf
2326 - i686-unknown-linux-gnu
2427 - i686-unknown-linux-musl
25- - mips-unknown-linux-gnu
26- - mips64-unknown-linux-gnuabi64
27- - mips64el-unknown-linux-gnuabi64
28- - mipsel-unknown-linux-gnu
2928 - powerpc-unknown-linux-gnu
30- # - powerpc64-unknown-linux-gnu
29+ - powerpc64-unknown-linux-gnu
3130 - powerpc64le-unknown-linux-gnu
31+ - riscv64gc-unknown-linux-gnu
3232 - s390x-unknown-linux-gnu
3333 - x86_64-unknown-linux-gnu
3434 - x86_64-unknown-linux-musl
3535
3636 include :
3737 # MSRV
38- - rust : 1.46 .0
38+ - rust : 1.65 .0
3939 TARGET : x86_64-unknown-linux-gnu
4040
4141 # Test nightly but don't fail
@@ -58,37 +58,11 @@ jobs:
5858 command : build
5959 args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
6060
61- - name : Test
62- uses : actions-rs/cargo@v1
63- with :
64- use-cross : true
65- command : test
66- args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
67-
68- ci-linux-msrv :
69- name : CI
70- runs-on : ubuntu-latest
71- strategy :
72- matrix :
73- rust : [1.46.0]
74- FEATURES : ["", "--features=async-tokio", "--features=mio-evented"]
75- TARGET :
76- - x86_64-unknown-linux-gnu
77-
78- steps :
79- - uses : actions/checkout@v2
80- - uses : actions-rs/toolchain@v1
81- with :
82- profile : minimal
83- toolchain : ${{ matrix.rust }}
84- target : ${{ matrix.TARGET }}
85- override : true
86-
87- - name : Build
61+ - name : Build all features
8862 uses : actions-rs/cargo@v1
8963 with :
9064 command : build
91- args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
65+ args : --target=${{ matrix.TARGET }} --all-features
9266
9367 - name : Test
9468 uses : actions-rs/cargo@v1
@@ -97,29 +71,12 @@ jobs:
9771 command : test
9872 args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
9973
100- ci-macos :
101- name : CI
102- runs-on : macos-11
103-
104- strategy :
105- matrix :
106- rust : [stable, 1.46.0]
107- TARGET : [x86_64-apple-darwin]
108-
109- steps :
110- - uses : actions/checkout@v2
111-
112- - uses : actions-rs/toolchain@v1
113- with :
114- profile : minimal
115- toolchain : ${{ matrix.rust }}
116- target : ${{ matrix.TARGET }}
117- override : true
118-
119- - uses : actions-rs/cargo@v1
74+ - name : Test all features
75+ uses : actions-rs/cargo@v1
12076 with :
121- command : build
122- args : --target=${{ matrix.TARGET }}
77+ use-cross : true
78+ command : test
79+ args : --target=${{ matrix.TARGET }} --all-features
12380
12481 checks :
12582 runs-on : ubuntu-latest
@@ -152,7 +109,7 @@ jobs:
152109 - uses : actions-rs/toolchain@v1
153110 with :
154111 profile : minimal
155- toolchain : 1.46 .0
112+ toolchain : 1.65 .0
156113 components : clippy
157114
158115 - uses : actions-rs/clippy-check@v1
0 commit comments