Skip to content

Commit 5eb677a

Browse files
committed
test
1 parent 93ab33b commit 5eb677a

File tree

292 files changed

+5117
-6466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+5117
-6466
lines changed

.github/template/fwe-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
with:
5959
name: build-${{ inputs.upload-arch }}
6060
path: |
61-
build/src/executionmanagement/aws-iot-fleetwise-edge
61+
build/aws-iot-fleetwise-edge
6262
build/aws-iot-fleetwise-edge-${{ inputs.upload-arch }}.tar.gz
6363
build/Testing/Temporary/
6464
build/**/report-*.xml

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
build-arch: "native"
3939
upload-arch: "amd64"
4040
cache-paths: /usr/local/x86_64-linux-gnu
41-
dist-files: build/src/executionmanagement/aws-iot-fleetwise-edge:.
41+
dist-files: build/aws-iot-fleetwise-edge:.
4242

4343
build-arm64:
4444
runs-on: ubuntu-20.04
@@ -49,7 +49,7 @@ jobs:
4949
build-arch: "cross-arm64"
5050
upload-arch: "arm64"
5151
cache-paths: /usr/local/aarch64-linux-gnu:/usr/local/x86_64-linux-gnu
52-
dist-files: build/src/executionmanagement/aws-iot-fleetwise-edge:.
52+
dist-files: build/aws-iot-fleetwise-edge:.
5353

5454
build-armhf:
5555
runs-on: ubuntu-20.04
@@ -60,7 +60,7 @@ jobs:
6060
build-arch: "cross-armhf"
6161
upload-arch: "armhf"
6262
cache-paths: /usr/local/arm-linux-gnueabihf:/usr/local/x86_64-linux-gnu
63-
dist-files: build/src/executionmanagement/aws-iot-fleetwise-edge:.
63+
dist-files: build/aws-iot-fleetwise-edge:.
6464

6565
build-android:
6666
runs-on: ubuntu-20.04
@@ -70,11 +70,11 @@ jobs:
7070
with:
7171
build-arch: "cross-android"
7272
upload-arch: "android"
73-
cache-paths: /usr/local/aarch64-linux-android:/usr/local/armv7a-linux-androideabi:/usr/local/x86_64-linux-gnu
73+
cache-paths: /usr/local/x86_64-linux-android:/usr/local/aarch64-linux-android:/usr/local/armv7a-linux-androideabi:/usr/local/x86_64-linux-gnu
7474
dist-files:
75-
build/x86_64/src/executionmanagement/libaws-iot-fleetwise-edge.so:x86_64
76-
build/armeabi-v7a/src/executionmanagement/libaws-iot-fleetwise-edge.so:armeabi-v7a
77-
build/arm64-v8a/src/executionmanagement/libaws-iot-fleetwise-edge.so:arm64-v8a
75+
build/x86_64/libaws-iot-fleetwise-edge.so:x86_64
76+
build/armeabi-v7a/libaws-iot-fleetwise-edge.so:armeabi-v7a
77+
build/arm64-v8a/libaws-iot-fleetwise-edge.so:arm64-v8a
7878
- name: build-app
7979
run: |
8080
mkdir -p tools/android-app/app/src/main/jniLibs

.pre-commit-config.yaml

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ repos:
2626
- id: detect-aws-credentials
2727
args: [--allow-missing-credentials]
2828
- id: detect-private-key
29+
- repo: local
30+
hooks:
31+
- id: replace-c-headers
32+
name: replace-c-headers
33+
entry: |
34+
sed -i -e 's/#include <stdint.h>/#include <cstdint>/'
35+
-e 's/#include <stddef.h>/#include <cstddef>/'
36+
-e 's/#include <stdlib.h>/#include <cstdlib>/'
37+
-e 's/#include <math.h>/#include <cmath>/'
38+
-e 's/#include <string.h>/#include <cstring>/'
39+
-e 's/#include <ctype.h>/#include <cctype>/'
40+
-e 's/#include <stdio.h>/#include <cstdio>/'
41+
-e 's/#include <time.h>/#include <ctime>/'
42+
-e 's/#include <limits.h>/#include <climits>/'
43+
language: system
44+
verbose: true
45+
types: [c++]
2946
- repo: https://github.com/pre-commit/mirrors-clang-format
3047
rev: v10.0.1
3148
hooks:
@@ -81,27 +98,21 @@ repos:
8198
hooks:
8299
- id: validate-static-config
83100
name: validate-static-config
84-
# pre-commit intentionally pass all files as args to the command.
85-
# Since the json command only takes one file at once we need some shell script to split the args.
86101
entry:
87-
bash -c 'for x in "$@"; do echo "Validating file $x"; json validate --schema-file
88-
interfaces/protobuf/schemas/edgeConfiguration/staticConfiguration.json --document-file
89-
"$x"; done' --
102+
check-jsonschema --schemafile
103+
interfaces/protobuf/schemas/edgeConfiguration/staticConfiguration.json --
90104
language: python
91105
files: "configuration/static-config.json|tools/android-app/app/src/main/assets/config-0.json"
92106
types: [json]
93-
additional_dependencies: ["json-spec==0.10.1"]
107+
additional_dependencies: ["check-jsonschema==0.25.0"]
94108
verbose: true
95109
- id: validate-persistency-metadata
96110
name: validate-persistency-metadata
97-
# pre-commit intentionally pass all files as args to the command.
98-
# Since the json command only takes one file at once we need some shell script to split the args.
99111
entry:
100-
bash -c 'for x in "$@"; do echo "Validating file $x"; json validate --schema-file
101-
interfaces/persistency/schemas/persistencyMetadataFormat.json --document-file "$x"; done'
102-
--
112+
check-jsonschema --schemafile
113+
interfaces/persistency/schemas/persistencyMetadataFormat.json --
103114
language: python
104115
files: "interfaces/persistency/examples/persistencyMetadataFormat.json"
105116
types: [json]
106-
additional_dependencies: ["json-spec==0.10.1"]
117+
additional_dependencies: ["check-jsonschema==0.25.0"]
107118
verbose: true

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## TBD
4+
5+
Improvements:
6+
7+
- Update AWS C++ SDK to v1.11.148, which includes an
8+
[important bugfix](https://github.com/awslabs/aws-c-mqtt/pull/311) for MQTT 3.1.1 clients.
9+
- Simplify `src/` folder structure, removing sub-namespaces & sub-libraries, and moving unit test
10+
files to `test/unit/`.
11+
312
## v1.0.7 (2023-08-01)
413

514
Features:

0 commit comments

Comments
 (0)