diff --git a/.github/workflows/run-onert-micro-unit-tests.yml b/.github/workflows/run-onert-micro-unit-tests.yml index 4c797651b71..c40548c639b 100644 --- a/.github/workflows/run-onert-micro-unit-tests.yml +++ b/.github/workflows/run-onert-micro-unit-tests.yml @@ -50,6 +50,13 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} # Fetch all history and branch (default: 1) fetch-depth: 0 + - name: Build for Cortex ARM + run: | + mkdir build_arm + cd build_arm + cmake ../infra/onert-micro/ -DCMAKE_BUILD_TYPE=Release -DNOT_BUILD_EXTERNALS=0 + cmake --build . --target onert_micro_arm -j1 + - name: Build and Run Tests run: | mkdir build diff --git a/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp b/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp index 067ff93f0ac..3642cd60bcb 100644 --- a/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp +++ b/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp @@ -180,7 +180,7 @@ OMStatus OMRuntimeAllocator::allocateGraphInputs(OMRuntimeContext *context, OMStatus status = Ok; const auto &graph_inputs = context->getCircleInputs(); - for (uint i = 0; i < graph_inputs->size(); ++i) + for (uint32_t i = 0; i < graph_inputs->size(); ++i) { auto tensor_index = graph_inputs->operator[](i); const circle::Tensor *tensor = context->getTensorByIndex(tensor_index);