Skip to content

Added support for RFC5652 types of MS countersignatures (#16) #100

Added support for RFC5652 types of MS countersignatures (#16)

Added support for RFC5652 types of MS countersignatures (#16) #100

Workflow file for this run

name: CMake
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
# Use Debug type as Windows extra debug assertions can uncover extra bugs.
BUILD_TYPE: Debug
jobs:
test-openssl1-1:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Stops killing other jobs when one fails
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install OpenSSL on MacOS
if: matrix.os == 'macos-latest'
# We want 1.1.1 version max as the 3.0 is default on MacOS otherwise
run: brew install [email protected]
- name: Install OpenSSL on Windows
if: matrix.os == 'windows-latest'
run: |
rd -r "C:/Program Files/OpenSSL"
choco install openssl
Copy-Item -Path "C:/Program Files/OpenSSL/lib/VC/x64/MD/*" -Destination "C:/Program Files/OpenSSL/lib/VC" -Recurse
- name: debug Windows
if: matrix.os == 'windows-latest'
run: |
dir "C:/Program Files/OpenSSL/include"
dir "C:/Program Files/OpenSSL/lib/VC"
dir "C:/Program Files/OpenSSL/lib/VC/x64"
dir "C:/Program Files/OpenSSL/lib/VC/x64/MD"
dir "C:/Program Files/OpenSSL/lib/VC/x64/MDd"
dir "C:/Program Files/OpenSSL/lib/VC/x64/MT"
dir "C:/Program Files/OpenSSL/lib/VC/x64/MTd"
dir "C:/Program Files/OpenSSL/lib"
dir "C:/Program Files/OpenSSL"
- name: Configure Ubuntu CMake
if: matrix.os == 'ubuntu-latest'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON
- name: Configure Windows CMake
if: matrix.os == 'windows-latest'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON
- name: Configure MacOS CMake
if: matrix.os == 'macos-latest'
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -VV
test-openssl3-0:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install OpenSSL on MacOS
run: brew install openssl@3
- name: Configure MacOS CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -VV