Skip to content

Commit

Permalink
Install openssl in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
schlosna committed Jan 6, 2022
1 parent 218e5cf commit 34298a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ jobs:
- attach_workspace: { at: /home/circleci }
- restore_cache: { key: 'gradle-wrapper-v2-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}' }
- restore_cache: { key: 'unit-test-gradle-cache-v2-{{ checksum "versions.props" }}-{{ checksum "build.gradle" }}' }
- run:
name: link_openssl
command: |
sudo apt-get update -q && sudo apt-get install -qy libssl-dev
sudo ln -s /lib/x86_64-linux-gnu/libcrypt.so /usr/lib/libcrypto.so
sudo ln -s /lib/x86_64-linux-gnu/libcrypt.so /usr/lib64/libcrypto.so
echo "Linked openssl /usr/lib/libcrypto.so"
ls -al /lib/libcrypto* /usr/lib/libcrypto* /usr/lib64/libcrypto* /usr/lib/x86_64-linux-gnu/libcrypto*
- run: ./gradlew --parallel --stacktrace --continue --max-workers=2 test
- save_cache:
key: 'unit-test-gradle-cache-v2-{{ checksum "versions.props" }}-{{ checksum "build.gradle" }}'
Expand Down

0 comments on commit 34298a8

Please sign in to comment.