Skip to content

Commit 618d356

Browse files
committed
Update CI to install krb5
1 parent 6b93d92 commit 618d356

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
with:
3232
toolchain: stable
3333
override: true
34+
- name: Install krb5
35+
run: |
36+
sudo apt install -y krb5-user libkrb5-dev
3437
- name: Build code
3538
run: cargo build
3639
test:
@@ -46,6 +49,9 @@ jobs:
4649
with:
4750
toolchain: stable
4851
override: true
52+
- name: Install krb5
53+
run: |
54+
sudo apt install -y krb5-user libkrb5-dev
4955
- name: Test code
5056
run: cargo test -- --nocapture
5157
coverage:
@@ -65,6 +71,9 @@ jobs:
6571
override: true
6672
components: llvm-tools-preview
6773
- run: cargo install grcov
74+
- name: Install krb5
75+
run: |
76+
sudo apt install -y krb5-user libkrb5-dev
6877
- run: cargo build --verbose
6978
- name: Run tests
7079
run: LLVM_PROFILE_FILE="zookeeper-client-%p-%m.profraw" cargo test --verbose -- --nocapture
@@ -95,6 +104,9 @@ jobs:
95104
steps:
96105
- uses: actions/checkout@v2
97106
- uses: Swatinem/rust-cache@v1
107+
- name: Install krb5
108+
run: |
109+
sudo apt install -y krb5-user libkrb5-dev
98110
- name: publish crate
99111
env:
100112
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)