Skip to content

Commit

Permalink
Release v0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Dec 15, 2020
2 parents 87ebd5b + e3d3e55 commit 0fe4faf
Show file tree
Hide file tree
Showing 2 changed files with 258 additions and 3 deletions.
255 changes: 255 additions & 0 deletions .github/workflows/actions_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
name: Github Actions Build

on: [push]

jobs:
build_gcc_ubuntu_16_04:
runs-on: ubuntu-16.04
strategy:
fail-fast: false
matrix:
type: [Debug, Release, MinSizeRel]

steps:
- uses: actions/checkout@v2

- name: Install Packages
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev gcc-4.8 g++-4.8 gcc-5 g++-5

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold
env:
CC: gcc-5
CXX: g++-5

- name: Generate Target Project
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build .
env:
VERBOSE: 1

- name: Create Target Project Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build/build.output

- name: Configure Target Project
shell: bash
working-directory: ${{runner.workspace}}/build/build.output
run: cmake ${{runner.workspace}}/build/output -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -DOPT_BUILD_TEST=ON -DOPT_BUILD_PLUGIN=ON
env:
CC: gcc-4.8
CXX: g++-4.8

- name: Build Target Project
working-directory: ${{runner.workspace}}/build/build.output
shell: bash
run: cmake --build . --target install
env:
VERBOSE: 1

build_gcc_ubuntu_18_04:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
type: [Debug, Release, MinSizeRel]
cc_ver: [5, 6]

steps:
- uses: actions/checkout@v2

- name: Install Packages
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev gcc-${{matrix.cc_ver}} g++-${{matrix.cc_ver}}

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold
env:
CC: gcc-${{matrix.cc_ver}}
CXX: g++-${{matrix.cc_ver}}

- name: Generate Target Project
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build .
env:
VERBOSE: 1

- name: Create Target Project Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build/build.output

- name: Configure Target Project
shell: bash
working-directory: ${{runner.workspace}}/build/build.output
run: cmake ${{runner.workspace}}/build/output -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -DOPT_BUILD_TEST=ON -DOPT_BUILD_PLUGIN=ON
env:
CC: gcc-${{matrix.cc_ver}}
CXX: g++-${{matrix.cc_ver}}

- name: Build Target Project
working-directory: ${{runner.workspace}}/build/build.output
shell: bash
run: cmake --build . --target install
env:
VERBOSE: 1


build_gcc_ubuntu_20_04:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
type: [Debug, Release, MinSizeRel]
cc_ver: [7, 8, 9, 10]

steps:
- uses: actions/checkout@v2

- name: Install Packages
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install
env:
CC: gcc-${{matrix.cc_ver}}
CXX: g++-${{matrix.cc_ver}}

- name: Generate Target Project
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build .
env:
VERBOSE: 1

- name: Create Target Project Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build/build.output

- name: Configure Target Project
shell: bash
working-directory: ${{runner.workspace}}/build/build.output
run: cmake ${{runner.workspace}}/build/output -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DOPT_BUILD_TEST=ON -DOPT_BUILD_PLUGIN=ON
env:
CC: gcc-${{matrix.cc_ver}}
CXX: g++-${{matrix.cc_ver}}

- name: Build Target Project
working-directory: ${{runner.workspace}}/build/build.output
shell: bash
run: cmake --build . --target install
env:
VERBOSE: 1

build_clang_ubuntu_18_04:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
type: [Debug, Release, MinSizeRel]
cc_ver: ["4.0", "5.0", "6.0", 7, 8, 9]

steps:
- uses: actions/checkout@v2

- name: Install Packages
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev clang-${{matrix.cc_ver}}

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install
env:
CC: clang-${{matrix.cc_ver}}
CXX: clang++-${{matrix.cc_ver}}

- name: Generate Target Project
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build .
env:
VERBOSE: 1

- name: Create Target Project Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build/build.output

- name: Configure Target Project
shell: bash
working-directory: ${{runner.workspace}}/build/build.output
run: cmake ${{runner.workspace}}/build/output -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DOPT_BUILD_TEST=ON -DOPT_BUILD_PLUGIN=ON
env:
CC: clang-${{matrix.cc_ver}}
CXX: clang++-${{matrix.cc_ver}}

- name: Build Target Project
working-directory: ${{runner.workspace}}/build/build.output
shell: bash
run: cmake --build . --target install
env:
VERBOSE: 1

build_clang_ubuntu_20_04:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
type: [Debug, Release, MinSizeRel]
cc_ver: [10]

steps:
- uses: actions/checkout@v2

- name: Install Packages
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev clang-${{matrix.cc_ver}}

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install
env:
CC: clang-${{matrix.cc_ver}}
CXX: clang++-${{matrix.cc_ver}}

- name: Generate Target Project
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build .
env:
VERBOSE: 1

- name: Create Target Project Build Directory
run: cmake -E make_directory ${{runner.workspace}}/build/build.output

- name: Configure Target Project
shell: bash
working-directory: ${{runner.workspace}}/build/build.output
run: cmake ${{runner.workspace}}/build/output -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install -DOPT_BUILD_TEST=ON -DOPT_BUILD_PLUGIN=ON
env:
CC: clang-${{matrix.cc_ver}}
CXX: clang++-${{matrix.cc_ver}}

- name: Build Target Project
working-directory: ${{runner.workspace}}/build/build.output
shell: bash
run: cmake --build . --target install
env:
VERBOSE: 1

6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ option (MQTT5_NO_WARN_AS_ERR "Don't treat compilation warnings as errors." OFF)
# is not provided and examples are not disabled.

if ("${COMMSDSL_TAG}" STREQUAL "")
set(COMMSDSL_TAG "v3.5.3")
set(COMMSDSL_TAG "v3.6")
endif ()

if ("${COMMS_TAG}" STREQUAL "")
set(COMMS_TAG "v3.1.2")
set(COMMS_TAG "v3.1.3")
endif ()

set (VERSION "0.19.1")
set (VERSION "0.20")

set (EXTERNALS_DIR "${PROJECT_SOURCE_DIR}/externals")

Expand Down

0 comments on commit 0fe4faf

Please sign in to comment.