Skip to content

Commit f052692

Browse files
authored
Integrate video (#28)
* termcam * fmt * gate stream video behind a feature flag * clippy * test all feature except uitest on ci * update all deps * add a boder around the framebuffer * fmt * improve compile time, keep the same verison of crossterm in termchat and tui * Install with all features * rename to startstream * libxkbcommon is not needed anymore * ci: build/package with --all-features * ci: clippy --all-features, +fmt code
1 parent e46e8fc commit f052692

File tree

12 files changed

+308
-614
lines changed

12 files changed

+308
-614
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,6 @@ jobs:
108108
override: true
109109
target: ${{ matrix.target }}
110110

111-
- name: Install linux dependencies
112-
shell: bash
113-
run: |
114-
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
115-
sudo apt-get install libxkbcommon-dev
116-
fi
117-
118111
- name: Get release download URL
119112
uses: actions/download-artifact@v1
120113
with:
@@ -133,7 +126,7 @@ jobs:
133126
134127
- name: Build release binary
135128
run: |
136-
cargo build --release
129+
cargo build --release --all-features
137130
138131
- name: Build archive
139132
shell: bash

.github/workflows/rust.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ jobs:
3535
with:
3636
rust-version: ${{ matrix.rust }}
3737
components: rustfmt,clippy
38-
- name: Install linux dependencies
39-
shell: bash
40-
run: |
41-
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
42-
sudo apt-get install libxkbcommon-dev
43-
fi
4438
- name: Toolchain Information
4539
run: |
4640
rustc --version
@@ -52,16 +46,17 @@ jobs:
5246
run: cargo fmt --all -- --check
5347
continue-on-error: ${{ matrix.can-fail }}
5448
- name: Clippy
55-
run: cargo clippy -- -D clippy::all
49+
run: cargo clippy --all-features -- -D clippy::all
5650
continue-on-error: ${{ matrix.can-fail }}
5751
- name: Test Build
58-
run: cargo build
52+
run: cargo build --all-features
5953
continue-on-error: ${{ matrix.can-fail }}
6054
- name: Test default features
61-
run: cargo test
55+
# ui-test feature breaks ci, so we add each feature individually, example: --features featA,featB,featC
56+
run: cargo test --features stream-video
6257
continue-on-error: ${{ matrix.can-fail }}
6358

6459
- name: Test Packaging
6560
if: matrix.rust == 'stable'
66-
run: cargo package
61+
run: cargo package --all-features
6762
continue-on-error: ${{ matrix.can-fail }}

0 commit comments

Comments
 (0)