POCO_EXTERNAL_OPENSSL_SLPRO #325
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: CI | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
build-and-test: | ||
name: ${{ matrix.toolchain }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- linux-gcc | ||
- windows-msvc | ||
configuration: | ||
- Debug | ||
include: | ||
- toolchain: linux-gcc | ||
os: ubuntu-latest | ||
compiler: gcc | ||
- toolchain: windows-msvc | ||
os: windows-latest | ||
compiler: msvc | ||
steps: | ||
- name: Install dependencies UBUNTU | ||
if: matrix.os == 'ubuntu-latest' | ||
run: sudo apt-get update && sudo apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.0-dev xvfb | ||
- name: Install dependencies WINDOWS | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
choco install openssl | ||
echo "OpenSSL_DIR=C:/Program Files/OpenSSL-Win64" >> $GITHUB_ENV | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
- name: Configure (${{ matrix.configuration }}) | ||
if: matrix.os == 'ubuntu-latest' | ||
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} | ||
if: matrix.os == 'windows-latest' | ||
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -DCMAKE_CXX_FLAGS="/DPOCO_EXTERNAL_OPENSSL_SLPRO" | ||
- name: Build with ${{ matrix.compiler }} | ||
run: cmake --build build | ||
- name: Test | ||
working-directory: build | ||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
run: ctest -C ${{ matrix.configuration }} |