Skip to content

Commit

Permalink
Merge pull request #45 from bandi13/addGithubActions
Browse files Browse the repository at this point in the history
Add simple Github Action
  • Loading branch information
douzzer authored Aug 23, 2024
2 parents dda1029 + 9331a8f commit 1d46ef2
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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',
]
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/build-wolfprovider.sh
make check
- name: Print errors
if: ${{ failure() }}
run: |
if [ -f test-suite.log ] ; then
cat test-suite.log
fi

0 comments on commit 1d46ef2

Please sign in to comment.