File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 11name : CI
22on : [push, pull_request]
3-
43jobs :
54 build_and_test :
65 name : color-backtrace
76 runs-on : " ${{ matrix.image_name }}"
8-
97 strategy :
108 matrix :
11- image_name : ["macOS-latest", "windows-2016", "ubuntu-18.04"]
12-
9+ image_name : ["macOS-latest", "windows-latest", "ubuntu-22.04"]
10+ features : ["--all-features"]
11+ include :
12+ - image_name : " ubuntu-22.04"
13+ features : " --no-default-features"
1314 steps :
14- - uses : actions/checkout@v2
15- name : Checkout
16- - uses : actions-rs/cargo@v1
17- name : Build
18- with :
19- command : build
20- args : --all-features --examples
21- - uses : actions-rs/cargo@v1
22- name : Test
23- with :
24- command : test
15+ - name : Clone
16+ uses : actions/checkout@v3
17+ - name : Install Rust
18+ uses : dtolnay/rust-toolchain@stable
19+ - name : Build
20+ run : cargo build ${{ matrix.features }}
21+ - name : Test
22+ run : cargo test ${{ matrix.features }}
You can’t perform that action at this time.
0 commit comments