Update build script to follow removal of crate feature
This commit is contained in:
parent
0f25a12877
commit
5a785a2e16
1 changed files with 9 additions and 15 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
@ -11,20 +11,14 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
features: [--no-default-features, --features bundle-sqlite, --features ui]
|
||||
exclude:
|
||||
- os: windows-latest
|
||||
features: --no-default-features
|
||||
features: ["", --features ui]
|
||||
|
||||
steps:
|
||||
- name: Install libsqlite3-dev
|
||||
if: contains(matrix.os, 'ubuntu') && !contains(matrix.features, 'bundle-sqlite')
|
||||
run: sudo apt-get update && sudo apt-get install libsqlite3-dev
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --release ${{ matrix.features }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --release ${{ matrix.features }}
|
||||
|
|
Loading…
Add table
Reference in a new issue