From b16ceb98e4254d077ebc5dc64165e0455ea622f0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 2 Aug 2020 10:54:45 -0700 Subject: drone: Do not expect same branches between meta-clang and yoe It could be that we use master branch of yoe to test a different feature branch on meta-clang, therefore just checkout whatever is default and then switch to master branch explicitly Signed-off-by: Khem Raj --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4f0eb70..5cc189a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,9 +19,9 @@ trigger: steps: - name: build commands: - - git clone --recurse-submodules -j8 -b $DRONE_SOURCE_BRANCH git://github.com/YoeDistro/yoe-distro.git yoe + - git clone --recurse-submodules -j8 git://github.com/YoeDistro/yoe-distro.git yoe - cd yoe - - git checkout master + - git checkout -b test origin/master - git pull - git submodule update --recursive --init - rm -rf sources/meta-clang -- cgit v1.2.3-54-g00ecf