Skip to content

Commit 5d6a177

Browse files
committed
Release v3.0.3
2 parents 0c44913 + a4ca254 commit 5d6a177

File tree

2 files changed

+5
-258
lines changed

2 files changed

+5
-258
lines changed

.github/workflows/actions_build.yml

Lines changed: 3 additions & 256 deletions
Original file line numberDiff line numberDiff line change
@@ -8,139 +8,11 @@ on:
88
- '**'
99

1010
env:
11-
COMMS_TAG: v5.3
12-
COMMSDSL_TAG: v7.0.3
13-
CC_TOOLS_QT_TAG: v6.0.1
11+
COMMS_TAG: v5.4.2
12+
COMMSDSL_TAG: v7.1
13+
CC_TOOLS_QT_TAG: v6.0.2
1414

1515
jobs:
16-
build_gcc_old_ubuntu_20_04:
17-
runs-on: ubuntu-20.04
18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
type: [Debug, Release, MinSizeRel]
22-
cc_ver: [4.8]
23-
cpp: [11]
24-
25-
steps:
26-
- uses: actions/checkout@v4
27-
28-
- name: Add repositories
29-
run: |
30-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \
31-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe'
32-
33-
- name: Prepare Install
34-
run: sudo apt-get update --fix-missing
35-
36-
- name: Install Packages
37-
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev gcc-${{matrix.cc_ver}} g++-${{matrix.cc_ver}} gcc-8 g++-8
38-
39-
- name: Create Build Environment
40-
run: cmake -E make_directory ${{runner.workspace}}/build
41-
42-
- name: Prepare externals
43-
shell: bash
44-
run: $GITHUB_WORKSPACE/script/prepare_externals.sh
45-
env:
46-
BUILD_DIR: ${{runner.workspace}}/build
47-
CC: gcc-${{matrix.cc_ver}}
48-
CXX: g++-${{matrix.cc_ver}}
49-
CC_COMMSDSL: gcc-8
50-
CXX_COMMSDSL: g++-8
51-
EXTERNALS_DIR: ${{runner.workspace}}/externals
52-
COMMON_INSTALL_DIR: ${{runner.workspace}}/build/install
53-
COMMON_BUILD_TYPE: ${{matrix.type}}
54-
COMMON_CXX_STANDARD: ${{matrix.cpp}}
55-
COMMS_TAG: ${{env.COMMS_TAG}}
56-
COMMSDSL_TAG: ${{env.COMMSDSL_TAG}}
57-
CC_TOOLS_QT_SKIP: 1
58-
59-
- name: Configure CMake
60-
shell: bash
61-
working-directory: ${{runner.workspace}}/build
62-
run: |
63-
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=sinstall \
64-
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -DCMAKE_PREFIX_PATH=${{runner.workspace}}/build/install \
65-
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DMQTT311_GEN_PROTOCOL=ON -DMQTT311_GEN_TEST=ON -DMQTT311_BUILD_EXAMPLES=OFF
66-
env:
67-
CC: gcc-${{matrix.cc_ver}}
68-
CXX: g++-${{matrix.cc_ver}}
69-
70-
- name: Build Target
71-
working-directory: ${{runner.workspace}}/build
72-
shell: bash
73-
run: cmake --build . --config ${{matrix.type}}
74-
env:
75-
VERBOSE: 1
76-
77-
build_gcc_ubuntu_20_04:
78-
runs-on: ubuntu-20.04
79-
strategy:
80-
fail-fast: false
81-
matrix:
82-
type: [Debug, Release, MinSizeRel]
83-
cc_ver: [5, 6, 7, 8]
84-
cpp: [11, 14, 17]
85-
exclude:
86-
- cc_ver: 5
87-
cpp: 17
88-
- cc_ver: 6
89-
cpp: 17
90-
- cc_ver: 7
91-
cpp: 17
92-
steps:
93-
- uses: actions/checkout@v4
94-
95-
- name: Add repositories
96-
run: |
97-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \
98-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe'
99-
100-
- name: Prepare Install
101-
run: sudo apt-get update --fix-missing
102-
103-
- name: Install Packages
104-
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev gcc-${{matrix.cc_ver}} g++-${{matrix.cc_ver}} gcc-8 g++-8
105-
106-
- name: Create Build Environment
107-
run: cmake -E make_directory ${{runner.workspace}}/build
108-
109-
- name: Prepare externals
110-
shell: bash
111-
run: $GITHUB_WORKSPACE/script/prepare_externals.sh
112-
env:
113-
BUILD_DIR: ${{runner.workspace}}/build
114-
CC: gcc-${{matrix.cc_ver}}
115-
CXX: g++-${{matrix.cc_ver}}
116-
CC_COMMSDSL: gcc-8
117-
CXX_COMMSDSL: g++-8
118-
EXTERNALS_DIR: ${{runner.workspace}}/externals
119-
COMMON_INSTALL_DIR: ${{runner.workspace}}/build/install
120-
COMMON_BUILD_TYPE: ${{matrix.type}}
121-
COMMON_CXX_STANDARD: ${{matrix.cpp}}
122-
COMMS_TAG: ${{env.COMMS_TAG}}
123-
COMMSDSL_TAG: ${{env.COMMSDSL_TAG}}
124-
CC_TOOLS_QT_SKIP: 1
125-
126-
- name: Configure CMake
127-
shell: bash
128-
working-directory: ${{runner.workspace}}/build
129-
run: |
130-
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install \
131-
-DCMAKE_PREFIX_PATH=${{runner.workspace}}/build/install -DCMAKE_CXX_STANDARD=${{matrix.cpp}} \
132-
-DMQTT311_GEN_PROTOCOL=ON -DMQTT311_GEN_TEST=ON
133-
env:
134-
CC: gcc-${{matrix.cc_ver}}
135-
CXX: g++-${{matrix.cc_ver}}
136-
137-
- name: Build Target
138-
working-directory: ${{runner.workspace}}/build
139-
shell: bash
140-
run: cmake --build . --config ${{matrix.type}}
141-
env:
142-
VERBOSE: 1
143-
14416
build_gcc_ubuntu_22_04:
14517
runs-on: ubuntu-22.04
14618
strategy:
@@ -265,131 +137,6 @@ jobs:
265137
run: cmake --build . --config ${{matrix.type}}
266138
env:
267139
VERBOSE: 1
268-
269-
build_clang_old_ubuntu_20_04:
270-
runs-on: ubuntu-20.04
271-
strategy:
272-
fail-fast: false
273-
matrix:
274-
type: [Debug, Release, MinSizeRel]
275-
cc_ver: ["4.0", "5.0", "6.0"]
276-
cpp: [11, 14, 17]
277-
exclude:
278-
- cc_ver: "4.0"
279-
cpp: 17
280-
281-
282-
steps:
283-
- uses: actions/checkout@v4
284-
285-
- name: Add repositories
286-
run: |
287-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \
288-
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe'
289-
290-
- name: Prepare Install
291-
run: sudo apt-get update --fix-missing
292-
293-
- name: Install Packages
294-
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev clang-${{matrix.cc_ver}} clang-6.0
295-
296-
297-
- name: Create Build Environment
298-
run: cmake -E make_directory ${{runner.workspace}}/build
299-
300-
- name: Prepare externals
301-
shell: bash
302-
run: $GITHUB_WORKSPACE/script/prepare_externals.sh
303-
env:
304-
BUILD_DIR: ${{runner.workspace}}/build
305-
CC: clang-${{matrix.cc_ver}}
306-
CXX: clang++-${{matrix.cc_ver}}
307-
CC_COMMSDSL: clang-6.0
308-
CXX_COMMSDSL: clang++-6.0
309-
EXTERNALS_DIR: ${{runner.workspace}}/externals
310-
COMMON_INSTALL_DIR: ${{runner.workspace}}/build/install
311-
COMMON_BUILD_TYPE: ${{matrix.type}}
312-
COMMON_CXX_STANDARD: ${{matrix.cpp}}
313-
COMMS_TAG: ${{env.COMMS_TAG}}
314-
COMMSDSL_TAG: ${{env.COMMSDSL_TAG}}
315-
CC_TOOLS_QT_SKIP: 1
316-
317-
- name: Configure CMake
318-
shell: bash
319-
working-directory: ${{runner.workspace}}/build
320-
run: |
321-
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install \
322-
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold -DCMAKE_PREFIX_PATH=${{runner.workspace}}/build/install \
323-
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DMQTT311_GEN_PROTOCOL=ON -DMQTT311_GEN_TEST=ON
324-
env:
325-
CC: clang-${{matrix.cc_ver}}
326-
CXX: clang++-${{matrix.cc_ver}}
327-
328-
- name: Build Target
329-
working-directory: ${{runner.workspace}}/build
330-
shell: bash
331-
run: cmake --build . --config ${{matrix.type}}
332-
env:
333-
VERBOSE: 1
334-
335-
build_clang_ubuntu_20_04:
336-
runs-on: ubuntu-20.04
337-
strategy:
338-
fail-fast: false
339-
matrix:
340-
type: [Debug, Release, MinSizeRel]
341-
cc_ver: [7, 8, 9, 10, 11]
342-
cpp: [11, 14, 17, 20]
343-
exclude:
344-
- cc_ver: 7
345-
cpp: 20
346-
- cc_ver: 8
347-
cpp: 20
348-
349-
steps:
350-
- uses: actions/checkout@v4
351-
352-
- name: Prepare Install
353-
run: sudo apt-get update --fix-missing
354-
355-
- name: Install Packages
356-
run: sudo apt install libqt5gui5 qtbase5-dev libboost-all-dev libxml2-dev clang-${{matrix.cc_ver}}
357-
358-
- name: Create Build Environment
359-
run: cmake -E make_directory ${{runner.workspace}}/build
360-
361-
- name: Prepare externals
362-
shell: bash
363-
run: $GITHUB_WORKSPACE/script/prepare_externals.sh
364-
env:
365-
BUILD_DIR: ${{runner.workspace}}/build
366-
CC: clang-${{matrix.cc_ver}}
367-
CXX: clang++-${{matrix.cc_ver}}
368-
EXTERNALS_DIR: ${{runner.workspace}}/externals
369-
COMMON_INSTALL_DIR: ${{runner.workspace}}/build/install
370-
COMMON_BUILD_TYPE: ${{matrix.type}}
371-
COMMON_CXX_STANDARD: ${{matrix.cpp}}
372-
COMMS_TAG: ${{env.COMMS_TAG}}
373-
COMMSDSL_TAG: ${{env.COMMSDSL_TAG}}
374-
CC_TOOLS_QT_SKIP: 1
375-
376-
- name: Configure CMake
377-
shell: bash
378-
working-directory: ${{runner.workspace}}/build
379-
run: |
380-
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install \
381-
-DCMAKE_PREFIX_PATH=${{runner.workspace}}/build/install -DCMAKE_CXX_STANDARD=${{matrix.cpp}} \
382-
-DMQTT311_GEN_PROTOCOL=ON -DMQTT311_GEN_TEST=ON
383-
env:
384-
CC: clang-${{matrix.cc_ver}}
385-
CXX: clang++-${{matrix.cc_ver}}
386-
387-
- name: Build Target
388-
working-directory: ${{runner.workspace}}/build
389-
shell: bash
390-
run: cmake --build . --config ${{matrix.type}}
391-
env:
392-
VERBOSE: 1
393140

394141
build_clang_ubuntu_22_04:
395142
runs-on: ubuntu-22.04

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ option (MQTT311_BUILD_EMSCRIPTEN "Build and install project generated by the com
3232
# COMMSDSL2SWIG_EXTRA_ARGS - Extra arguments to pass to "commsdsl2swig"
3333
# COMMSDSL2EMSCRIPTEN_EXTRA_ARGS - Extra arguments to pass to "commsdsl2emscripten"
3434

35-
set (MQTT311_VERSION "3.0.2")
36-
set (MQTT311_MIN_COMMSDSL_VERSION "7.0.3")
35+
set (MQTT311_VERSION "3.0.3")
36+
set (MQTT311_MIN_COMMSDSL_VERSION "7.1")
3737

3838
if ("${CMAKE_CXX_STANDARD}" STREQUAL "")
3939
set(CMAKE_CXX_STANDARD 17)

0 commit comments

Comments
 (0)