Skip to content

update websocket

update websocket #149

Workflow file for this run

name: Build
on: [ push, workflow_dispatch ]
jobs:
linux:
runs-on: ${{ matrix.os }}
env:
CC: gcc-${{ matrix.compiler_version }}
CXX: g++-${{ matrix.compiler_version }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
compiler_version: [ 11 ]
steps:
- uses: actions/checkout@v3
- name: Configure and build
run: |
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE="Release"
cmake --build build
- name: Test
run: |
cd build/tests
ctest --output-on-failure
linux_tls:
runs-on: ${{ matrix.os }}
env:
CC: gcc-${{ matrix.compiler_version }}
CXX: g++-${{ matrix.compiler_version }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
compiler_version: [ 11 ]
steps:
- uses: actions/checkout@v3
- name: Install prerequisites
run: |
sudo apt-get update && sudo apt-get install -y \
openssl libssl-dev
- name: Configure and build
run: |
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=ON -DSIMPLE_SOCKET_WITH_TLS=ON -DCMAKE_BUILD_TYPE="Release"
cmake --build build
- name: Test
run: |
cd build/tests
ctest --output-on-failure
linux-minimal:
runs-on: ${{ matrix.os }}
env:
CC: gcc-${{ matrix.compiler_version }}
CXX: g++-${{ matrix.compiler_version }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
compiler_version: [ 11 ]
steps:
- uses: actions/checkout@v3
- name: Configure and build
run: |
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=ON -DSIMPLE_SOCKET_WITH_TLS=OFF -DSIMPLE_SOCKET_WITH_MQTT=OFF -DSIMPLE_SOCKET_WITH_MODBUS=OFF -DSIMPLE_SOCKET_WITH_MEMORY=OFF -DSIMPLE_SOCKET_WITH_WEBSOCKETS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake --build build
- name: Test
run: |
cd build/tests
ctest --output-on-failure
windows:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-2022 ]
steps:
- uses: actions/checkout@v3
- name: Configure and build
run: |
cmake . -A x64 -B build -DSIMPLE_SOCKET_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE="Release"
cmake --build build --config Release
- name: Test
run: |
cd build/tests
ctest -C Release --output-on-failure
darwin:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-14 ]
steps:
- uses: actions/checkout@v3
- name: Configure and build
run: |
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake --build build