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 a0637dd
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 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,11 @@ jobs:
# with:
# platform: x64
# packages: pkg-config libvncserver-devel
- name: Build with without vnc and without alpha
uses: actions-rs/cargo@v1
- 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 a0637dd

Please sign in to comment.