Skip to content

Commit

Permalink
Integrate video (#28)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sigmaSd authored Jan 31, 2021
1 parent e46e8fc commit f052692
Show file tree
Hide file tree
Showing 12 changed files with 308 additions and 614 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ jobs:
override: true
target: ${{ matrix.target }}

- name: Install linux dependencies
shell: bash
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
sudo apt-get install libxkbcommon-dev
fi
- name: Get release download URL
uses: actions/download-artifact@v1
with:
Expand All @@ -133,7 +126,7 @@ jobs:
- name: Build release binary
run: |
cargo build --release
cargo build --release --all-features
- name: Build archive
shell: bash
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ jobs:
with:
rust-version: ${{ matrix.rust }}
components: rustfmt,clippy
- name: Install linux dependencies
shell: bash
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
sudo apt-get install libxkbcommon-dev
fi
- name: Toolchain Information
run: |
rustc --version
Expand All @@ -52,16 +46,17 @@ jobs:
run: cargo fmt --all -- --check
continue-on-error: ${{ matrix.can-fail }}
- name: Clippy
run: cargo clippy -- -D clippy::all
run: cargo clippy --all-features -- -D clippy::all
continue-on-error: ${{ matrix.can-fail }}
- name: Test Build
run: cargo build
run: cargo build --all-features
continue-on-error: ${{ matrix.can-fail }}
- name: Test default features
run: cargo test
# ui-test feature breaks ci, so we add each feature individually, example: --features featA,featB,featC
run: cargo test --features stream-video
continue-on-error: ${{ matrix.can-fail }}

- name: Test Packaging
if: matrix.rust == 'stable'
run: cargo package
run: cargo package --all-features
continue-on-error: ${{ matrix.can-fail }}
Loading

0 comments on commit f052692

Please sign in to comment.