Skip to content

add WebSocket client #83

add WebSocket client

add WebSocket client #83

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
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-13]
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