From 9f01517bc06ad5f28241d079ca3033699ddf94d1 Mon Sep 17 00:00:00 2001 From: Gunnar Andersson Date: Fri, 19 Apr 2024 12:35:42 +0200 Subject: [PATCH] CI: Run protobuf-to-ifex in simple build-test Just like the other similar CI tests, it is a simple sanity test that only runs on a single input file. It checks, at least, that we have installed the entry-point script properly, and that it can execute successfully without obvious errors. Signed-off-by: Gunnar Andersson --- .github/workflows/buildcheck.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/buildcheck.yml b/.github/workflows/buildcheck.yml index 6af9afa..98bcdd6 100644 --- a/.github/workflows/buildcheck.yml +++ b/.github/workflows/buildcheck.yml @@ -65,3 +65,12 @@ jobs: run: | python ifex/schema/ifex_to_json_schema.py >temp-schema python ifex/schema/pretty_print_json.py temp-schema >ifex-core-idl-schema.json + + - name: Clone uservices repository + run: | + git clone https://github.com/COVESA/uservices/ + + - name: Run protobuf->IFEX translation + run: | + ifexconv_protobuf uservices/src/main/proto/vehicle/propulsion/engine/v1/engine_service.proto >engine_service.ifex + cat engine_service.ifex