Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 28 additions & 5 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

name: Build

on: [push, workflow_dispatch]
on: [ push, workflow_dispatch ]

jobs:
linux:
Expand Down Expand Up @@ -60,14 +59,38 @@ jobs:
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 -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]
os: [ windows-2022 ]

steps:
- uses: actions/checkout@v3
Expand All @@ -89,12 +112,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [ macos-14 ]

steps:
- uses: actions/checkout@v3

- name: Configure and build
run: |
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE="Release"
cmake . -B build -DSIMPLE_SOCKET_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE="Release"
cmake --build build