Add NULL checks to EVP_MD_CTX_cleanse/cleanup #71
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: MinGW | |
on: | |
pull_request: | |
branches: [ '*' ] | |
push: | |
branches: [ '*' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
mingw: | |
if: github.repository == 'aws/aws-lc' | |
runs-on: windows-latest | |
steps: | |
- name: Install NASM | |
uses: ilammy/setup-nasm@v1.5.1 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup MinGW | |
uses: egor-tensin/setup-mingw@v2.2.0 | |
id: setup_mingw | |
with: | |
static: 0 | |
- name: Setup CMake | |
uses: threeal/cmake-action@v1.3.0 | |
with: | |
generator: Ninja | |
c-compiler: ${{ steps.setup_mingw.outputs.gcc }} | |
cxx-compiler: ${{ steps.setup_mingw.outputs.gxx }} | |
options: | | |
CMAKE_SYSTEM_NAME=Windows \ | |
CMAKE_SYSTEM_PROCESSOR=x86_64 \ | |
CMAKE_BUILD_TOOL=C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/ninja.exe \ | |
CMAKE_FIND_ROOT_PATH=C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64 \ | |
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \ | |
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ | |
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ | |
- name: Build Project | |
run: cmake --build ./build --target all | |
- name: Run tests | |
run: cmake --build ./build --target run_tests |