Skip to content

Commit

Permalink
Fix the problem with the failed compilation of openssl-sys in slim co…
Browse files Browse the repository at this point in the history
…ntainer

The most important change here is the new step Install OpenSSL, which has been added before the tests and the build. This step installs the necessary development libraries for OpenSSL
  • Loading branch information
NxtTAB committed Jul 25, 2024
1 parent 080695d commit 15c32f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ jobs:
runs-on: ubuntu-latest

container:
image: rust:1.70-slim-bullseye
image: rust:slim-bullseye

steps:
- uses: actions/checkout@v3

- name: Install OpenSSL
run: |
apt-get update
apt-get install -y pkg-config libssl-dev
- name: Run tests
run: cargo test --verbose

Expand Down

0 comments on commit 15c32f1

Please sign in to comment.