CI: test keyring feature

This commit is contained in:
FliegendeWurst 2021-04-17 15:40:08 +02:00
parent d087ea0e92
commit 450b0d9284

View File

@ -17,6 +17,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
features: ["", "--features keyring-auth"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -38,11 +39,14 @@ jobs:
with: with:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Install dbus
run: sudo apt-get install -y libdbus-1-dev
if: runner.os == 'Linux'
- name: Build - name: Build
run: cargo build --release --verbose run: cargo build --release ${{ matrix.features }} --verbose
# there are currently no automated tests # there are currently no automated tests
- name: Run tests - name: Run tests
run: cargo test --release --verbose run: cargo test --release ${{ matrix.features }} --verbose
- name: Archive artifacts - name: Archive artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: