File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: CMake
2
2
3
3
on :
4
4
push :
5
- branches : [ "main" ]
5
+ branches : [ "main", "development" ]
6
6
pull_request :
7
7
branches : [ "main" ]
8
8
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ name: "CodeQL"
13
13
14
14
on :
15
15
push :
16
- branches : [ "main" ]
16
+ branches : [ "main", "development" ]
17
17
pull_request :
18
18
# The branches below must be a subset of the branches above
19
19
branches : [ "main" ]
Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
- branches : [main]
3
+ branches : [ " main", "development" ]
4
4
pull_request :
5
5
name : Flatpak_test
6
6
jobs :
16
16
name : " Build"
17
17
with :
18
18
bundle : test_modbus-tcp-client-shm.flatpak
19
- manifest-path : network.koesling.modbus-tcp-client-shm.yml
19
+ manifest-path : network.koesling.test- modbus-tcp-client-shm.yml
20
20
cache-key : flatpak-builder-${{ github.sha }}
Original file line number Diff line number Diff line change
1
+ id : network.koesling.test-modbus-tcp-client-shm
2
+ runtime : org.freedesktop.Platform
3
+ runtime-version : ' 21.08'
4
+ sdk : org.freedesktop.Sdk
5
+ command : Modbus_TCP_client_shm
6
+ finish-args :
7
+ - --device=shm
8
+ - --share=network
9
+ 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
17
+
18
+ # install
19
+ - mkdir -p "${FLATPAK_DEST}/bin"
20
+ - cp build/Modbus_TCP_client_shm ${FLATPAK_DEST}/bin
21
+ - ls -lah ${FLATPAK_DEST}
22
+ sources :
23
+ - type : dir
24
+ path : .
25
+
You can’t perform that action at this time.
0 commit comments