Skip to content

Commit

Permalink
Fix FV/MV jobs
Browse files Browse the repository at this point in the history
Fix minor CI jobs:
 - switch to latest ubuntu and macos
 - remove hardcoded git plugin version

Resolves: MINOR-FIX

Signed-off-by: Yaroslav Stefinko <ext-yaroslav.stefinko@here.com>
  • Loading branch information
ystefinko committed Mar 18, 2024
1 parent e4d666f commit 5e1e616
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 42 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/fv_pipelines.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/mv_pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: MV_Pipelines

on:
push:
branches:
- '*'
# workflow_dispatch
# branches:
# - '*'
# schedule:
# MV(as well as FV) Android and iOS only once a month.
# - cron: '* 5 1 * *'

jobs:
mv-build-ios-network-test:
name: MV / iOS clang / Network tests
runs-on: macos-latest
env:
BUILD_TYPE: RelWithDebInfo
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build with tests
run: ./scripts/ios/fv/gh-actions-build-with-tests-fv.sh
shell: bash
- name: Test MV Network
run: ./scripts/ios/fv/gh-actions-functional-network-test.sh
shell: bash

mv-android-emulator-build-test:
name: MV.Android.Emulator.Build.Test.API21.ABIx86_64.NDK-Latest.
runs-on: ubuntu-latest
env:
#ANDROID_NDK_HOME: $(ANDROID_HOME)/ndk-bundle
SEGFAULT_SIGNALS: all
BUILD_TYPE: RelWithDebInfo
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Verification of cmake script
run: ls -la ${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake && ls -la ${ANDROID_NDK_HOME} && ls -la ${ANDROID_NDK_HOME}/build && ls -la ${ANDROID_NDK_HOME}/cmake
shell: bash
- name: Android Emulator Test
run: scripts/android/build-test-emulator.sh
shell: bash
2 changes: 1 addition & 1 deletion scripts/android/build-test-emulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mkdir -p build && cd build
echo ""
echo ""
echo "*************** $VARIANT Build SDK for C++ ********** Start ***************"
CMAKE_COMMAND="cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=$NDK_ROOT/build/cmake/android.toolchain.cmake \
CMAKE_COMMAND="cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_TOOLCHAIN_FILE=$NDK_ROOT/build/cmake/android.toolchain.cmake \
-DANDROID_PLATFORM=android-$ANDROID_API -DANDROID_STL=c++_static -DANDROID_ABI=$ANDROID_ABI"
BUILD_COMMAND="cmake --build . -- -j4"

Expand Down

0 comments on commit 5e1e616

Please sign in to comment.