-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f82c3e
commit 8bf8c9a
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,12 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: | | ||
python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *OpenSSL_version(int type);'); version_string = vffi.string(vffi.dlopen(path).OpenSSL_version(0)).decode('utf-8'); print(version_string)" | ||
- run: | | ||
python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *SSLeay_version(int type);'); version_string = vffi.string(vffi.dlopen(path).SSLeay_version(0)).decode('utf-8'); print(version_string)" | ||
- name: Setup Conda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
|
@@ -37,6 +43,12 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install -y libssl-dev | ||
- run: | | ||
python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *OpenSSL_version(int type);'); version_string = vffi.string(vffi.dlopen(path).OpenSSL_version(0)).decode('utf-8'); print(version_string)" | ||
- run: | | ||
python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *SSLeay_version(int type);'); version_string = vffi.string(vffi.dlopen(path).SSLeay_version(0)).decode('utf-8'); print(version_string)" | ||
- name: Run tests | ||
run: python -m pytest | ||
|
||
|