DMA cryptoCallbacks with SHA256 #317
Workflow file for this run
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
name: Build and Test | |
on: | |
push: | |
branches: [ 'master', 'main', 'release/**' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# List host CPU info | |
- name: Host CPU info | |
run: cat /proc/cpuinfo | |
# List compiler version | |
- name: List compiler version | |
run: gcc --version | |
# pull and build wolfssl | |
- name: Checkout wolfssl | |
uses: actions/checkout@v4 | |
with: | |
repository: wolfssl/wolfssl | |
path: wolfssl | |
# Build and test standard build | |
- name: Build and test | |
run: cd test && make clean && make WOLFSSL_DIR=../wolfssl run | |
# Build and test ASAN build, with wolfCrypt tests enabled. FORCE SUCCESS | |
# since wolfCrypt tests aren't all passing yet - this is just a status indicator | |
- name: Build and test ASAN TESTWOLFCRYPT (wolfCrypt tests OK to fail) | |
run: cd test && make clean && make ASAN=1 TESTWOLFCRYPT=1 WOLFSSL_DIR=../wolfssl run || true | |
# Build and test ASAN build, with wolfCrypt tests enabled and using the DMA devId. | |
- name: Build and test ASAN TESTWOLFCRYPT TESTWOLFCRYPT_DMA | |
run: cd test && make clean && make ASAN=1 TESTWOLFCRYPT=1 TESTWOLFCRYPT_DMA=1 WOLFSSL_DIR=../wolfssl run | |
# Build and test debug build with ASAN and NOCRYPTO | |
- name: Build and test ASAN DEBUG NOCRYPTO | |
run: cd test && make clean && make DEBUG=1 ASAN=1 NOCRYPTO=1 WOLFSSL_DIR=../wolfssl run | |
# Build and test debug build with ASAN | |
- name: Build and test ASAN DEBUG | |
run: cd test && make clean && make DEBUG=1 ASAN=1 WOLFSSL_DIR=../wolfssl run | |
# Build and test debug build with SHE | |
- name: Build and test SHE | |
run: cd test && make clean && make SHE=1 WOLFSSL_DIR=../wolfssl run | |
# Test structure padding | |
- name: Check structure padding | |
run: cd test && make clean && make checkpadding | |