Skip to content

POCO_EXTERNAL_OPENSSL_SLPRO #325

POCO_EXTERNAL_OPENSSL_SLPRO

POCO_EXTERNAL_OPENSSL_SLPRO #325

Workflow file for this run

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'

Check failure on line 47 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 47, Col: 7): 'if' is already defined .github/workflows/ci.yml (Line: 48, Col: 7): 'run' is already defined
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 }}