Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7e0f2c

Browse files
committed
Adjust CI configuration to catch more cross-platform errors (GitoxideLabs#12)
Previously, most of capabilities wouldn't actually be compiled.
1 parent 54e0a6a commit b7e0f2c

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: CI
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build-and-test:
10+
build-and-test-linux:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
@@ -25,13 +25,12 @@ jobs:
2525
- name: "Check (crossterm)"
2626
uses: actions-rs/cargo@v1
2727
with:
28-
command: check
29-
args: --features=render-tui-crossterm --all --bins --tests --examples
28+
command: test
29+
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
3030
- name: benchmarks
3131
run: make bench
3232

3333
build-and-test-on-windows:
34-
name: Windows
3534
runs-on: windows-latest
3635
steps:
3736
- uses: actions/checkout@v1
@@ -44,9 +43,9 @@ jobs:
4443
uses: actions-rs/cargo@v1
4544
with:
4645
command: check
47-
args: --features=render-tui-crossterm --all --bins --tests --examples
46+
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree --all --bins --tests --examples
4847
- name: "Test (crossterm)"
4948
uses: actions-rs/cargo@v1
5049
with:
5150
command: test
52-
args: --features=render-tui-crossterm --all
51+
args: --features=render-tui,render-tui-crossterm,render-line,render-line-crossterm,signal-hook,render-line-autoconfigure,progress-tree progress-tree" --all

0 commit comments

Comments
 (0)