Skip to content

Commit 1d46ef2

Browse files
authored
Merge pull request #45 from bandi13/addGithubActions
Add simple Github Action
2 parents dda1029 + 9331a8f commit 1d46ef2

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/simple.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Simple Tests
2+
3+
# START OF COMMON SECTION
4+
on:
5+
push:
6+
branches: [ '*' ]
7+
# branches: [ 'master', 'main', 'release/**' ]
8+
pull_request:
9+
branches: [ '*' ]
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
# END OF COMMON SECTION
15+
16+
jobs:
17+
make_check:
18+
strategy:
19+
matrix:
20+
config: [
21+
# Add new configs here
22+
'',
23+
'OPENSSL_TAG=master',
24+
'WOLFSSL_TAG=master',
25+
'OPENSSL_TAG=master WOLFSSL_TAG=master',
26+
]
27+
name: make check
28+
runs-on: ubuntu-latest
29+
# This should be a safe limit for the tests to run.
30+
timeout-minutes: 10
31+
steps:
32+
- uses: actions/checkout@v4
33+
name: Checkout wolfProvider
34+
35+
- name: Test wolfProvider
36+
run: |
37+
${{ matrix.config }} ./scripts/build-wolfprovider.sh
38+
make check
39+
40+
- name: Print errors
41+
if: ${{ failure() }}
42+
run: |
43+
if [ -f test-suite.log ] ; then
44+
cat test-suite.log
45+
fi

0 commit comments

Comments
 (0)