Skip to content

Commit

Permalink
Githubactions: MacOS: Add simple PKCS11 test
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Jun 3, 2024
1 parent 68010e2 commit e97d3da
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ jobs:
steps:

- name: install dependencies using brew
run: brew install gengetopt help2man libedit
run: brew install gengetopt help2man libedit opensc

- name: clone the Yubico/yubihsm-shell repository
uses: actions/checkout@v4
Expand All @@ -323,6 +323,13 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
- name: Test loading PKCS11 module
working-directory: yubihsm-shell
run: |
echo connector=http://127.0.0.1:12345 > yubihsm_pkcs11.conf
export YUBIHSM_PKCS11_CONF=$GITHUB_WORKSPACE/yubihsm-shell/yubihsm_pkcs11.conf
pkcs11-tool --module build/pkcs11/yubihsm_pkcs11.dylib --show-info
- name: do static build
working-directory: yubihsm-shell
env:
Expand Down

0 comments on commit e97d3da

Please sign in to comment.