Skip to content

Commit 20d237f

Browse files
fix flatpak
1 parent f015bd1 commit 20d237f

File tree

4 files changed

+51
-52
lines changed

4 files changed

+51
-52
lines changed

.github/workflows/flatpak_release.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

network.koesling.modbus-tcp-client-shm.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

network.koesling.test-modbus-tcp-client-shm.yml

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,58 @@ finish-args:
77
- --device=shm
88
- --share=network
99
modules:
10-
- name: Modbus_TCP_client_shm
11-
buildsystem: simple
12-
build-commands:
13-
# build
14-
- mkdir build
15-
- cmake -B build . -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=OFF -DCOMPILER_WARNINGS=OFF
16-
- cmake --build build
10+
- name: cxxopts
11+
buildsystem: cmake-ninja
12+
config-opts:
13+
- -DCMAKE_BUILD_TYPE=Release
14+
- -DCXXOPTS_BUILD_EXAMPLES=OFF
15+
- -DCXXOPTS_BUILD_TESTS=OFF
16+
sources:
17+
- type: git
18+
tag: v3.2.0
19+
url: https://github.com/jarro2783/cxxopts.git
1720

18-
# install
19-
- install -D -m 755 -t ${FLATPAK_DEST}/bin build/modbus-tcp-client-shm
21+
- name: cxxshm
22+
buildsystem: cmake-ninja
23+
config-opts:
24+
- -DCMAKE_BUILD_TYPE=Release
25+
- -DCLANG_FORMAT=OFF
26+
- -DCOMPILER_WARNINGS=OFF
27+
- -DCLANG_TIDY=OFF
28+
- -DBUILD_DOC=OFF
29+
sources:
30+
- type: git
31+
tag: v2.0.2
32+
url: https://github.com/NikolasK-source/cxxshm.git
33+
34+
- name: cxxsemaphore
35+
buildsystem: cmake-ninja
36+
config-opts:
37+
- -DCMAKE_BUILD_TYPE=Release
38+
- -DCLANG_FORMAT=OFF
39+
- -DCOMPILER_WARNINGS=OFF
40+
- -DCLANG_TIDY=OFF
41+
- -DBUILD_DOC=OFF
42+
sources:
43+
- type: git
44+
tag: v2.0.2
45+
url: https://github.com/NikolasK-source/cxxsemaphore.git
46+
47+
- name: libmodbus
48+
buildsystem: autotools
49+
sources:
50+
- type: git
51+
tag: v3.1.10
52+
url: https://github.com/stephane/libmodbus.git
53+
54+
- name: Modbus_TCP_client_shm
55+
buildsystem: cmake-ninja
56+
config-opts:
57+
- -DCMAKE_BUILD_TYPE=Release
58+
- -DCLANG_FORMAT=OFF
59+
- -DCOMPILER_WARNINGS=OFF
60+
- -DCLANG_TIDY=OFF
61+
- -DBUILD_DOC=OFF
2062
sources:
2163
- type: dir
2264
path: .

0 commit comments

Comments
 (0)