-
Notifications
You must be signed in to change notification settings - Fork 19
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
Andras Fekete
committed
Sep 6, 2024
1 parent
fe9a462
commit 01fcdc0
Showing
2 changed files
with
49 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Simple Tests | ||
|
||
# START OF COMMON SECTION | ||
on: | ||
push: | ||
branches: [ '*' ] | ||
# branches: [ 'master', 'main', 'release/**' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
# END OF COMMON SECTION | ||
|
||
jobs: | ||
make_check: | ||
strategy: | ||
matrix: | ||
config: [ | ||
# Add new configs here | ||
'', | ||
'OPENSSL_TAG=master', | ||
'WOLFSSL_TAG=master', | ||
'OPENSSL_TAG=master WOLFSSL_TAG=master', | ||
'OPENSSL_TAG=master WOLFSSL_ISFIPS=1', | ||
'WOLFSSL_TAG=master WOLFSSL_ISFIPS=1', | ||
'OPENSSL_TAG=master WOLFSSL_TAG=master WOLFSSL_ISFIPS=1', | ||
] | ||
name: make check | ||
runs-on: ubuntu-latest | ||
# This should be a safe limit for the tests to run. | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Checkout wolfProvider | ||
|
||
- name: Test wolfProvider | ||
run: | | ||
${{ matrix.config }} ./scripts/test-sanity.sh | ||
- name: Print errors | ||
if: ${{ failure() }} | ||
run: | | ||
if [ -f scripts/test-sanity.log ] ; then | ||
cat scripts/test-sanity.log | ||
fi |
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