Skip to content

Commit aa968af

Browse files
committed
Add required components to CI workflows
1 parent b4c4e39 commit aa968af

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
- "crypto-openssl,vendored"
1818

1919
steps:
20+
- name: install required packages
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y libdbus-1-dev libssl-dev
24+
2025
- name: Fetch head
2126
uses: actions/checkout@v5
2227

@@ -32,6 +37,15 @@ jobs:
3237
- name: Clippy check
3338
run: cargo clippy --no-deps --all-targets -- -D warnings
3439

40+
- name: Install gnome-keyring
41+
run: sudo apt-get install -y gnome-keyring
42+
43+
- name: Start gnome-keyring
44+
# run gnome-keyring with 'foobar' as password for the login keyring
45+
# this will create a new login keyring and unlock it
46+
# the login password doesn't matter, but the keyring must be unlocked for the tests to work
47+
run: gnome-keyring-daemon --components=secrets --daemonize --unlock <<< 'foobar'
48+
3549
- name: Build and Test
3650
run: cargo test --no-default-features --features=${{ matrix.features }} --verbose
3751

@@ -42,6 +56,11 @@ jobs:
4256
runs-on: ubuntu-latest
4357

4458
steps:
59+
- name: install required packages
60+
run: |
61+
sudo apt-get update
62+
sudo apt-get install -y libdbus-1-dev libssl-dev
63+
4564
- name: Fetch head
4665
uses: actions/checkout@v5
4766

0 commit comments

Comments
 (0)