Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed May 14, 2024
1 parent f46ab69 commit 953dd97
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,21 @@ jobs:
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
- uses: actions-rs/cargo@v1
- name: Test with all features turned off
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features
- name: Test with all features turned on
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- name: Test vnc features
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features vnc

run_build:
name: Build for ${{ matrix.target }}
Expand Down Expand Up @@ -159,18 +171,7 @@ jobs:
# with:
# platform: x64
# packages: pkg-config libvncserver-devel
- name: Build with without vnc and without alpha
uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ matrix.target }} --no-default-features
- name: Build with with vnc and without alpha
uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ matrix.target }} --no-default-features --features vnc
- name: Build with with all features
uses: actions-rs/cargo@v1
- uses: actions-rs/cargo@v1
with:
command: build
args: --target=${{ matrix.target }} --all-features

0 comments on commit 953dd97

Please sign in to comment.