mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
add github workflow to test no malloc
This commit is contained in:
33
.github/workflows/no-malloc.yml
vendored
Normal file
33
.github/workflows/no-malloc.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: No Malloc Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
make_check:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
config: [
|
||||||
|
# Add new configs here
|
||||||
|
'--enable-rsa --enable-keygen --disable-dh',
|
||||||
|
'CFLAGS=-DWOLFSSL_NO_MALLOC',
|
||||||
|
]
|
||||||
|
name: make check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
name: Checkout wolfSSL
|
||||||
|
|
||||||
|
- name: Test wolfSSL
|
||||||
|
run: |
|
||||||
|
./configure ${{ matrix.config }}
|
||||||
|
make check
|
||||||
|
|
||||||
|
- name: Print errors
|
||||||
|
if: ${{ failure() }}
|
||||||
|
run: |
|
||||||
|
if [ -f test-suite.log ] ; then
|
||||||
|
cat test-suite.log
|
||||||
|
fi
|
Reference in New Issue
Block a user