diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-02 10:54:45 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-04 09:36:00 -0700 |
commit | b16ceb98e4254d077ebc5dc64165e0455ea622f0 (patch) | |
tree | a02b131a20a62b6cb538896f2da7222bb5ba12c8 | |
parent | 427b6cb4cdd03bf437f295952dcdda12213f157b (diff) | |
download | meta-clang-b16ceb98e4254d077ebc5dc64165e0455ea622f0.tar.gz |
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 <raj.khem@gmail.com>
-rw-r--r-- | .drone.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,9 +19,9 @@ trigger: | |||
19 | steps: | 19 | steps: |
20 | - name: build | 20 | - name: build |
21 | commands: | 21 | commands: |
22 | - git clone --recurse-submodules -j8 -b $DRONE_SOURCE_BRANCH git://github.com/YoeDistro/yoe-distro.git yoe | 22 | - git clone --recurse-submodules -j8 git://github.com/YoeDistro/yoe-distro.git yoe |
23 | - cd yoe | 23 | - cd yoe |
24 | - git checkout master | 24 | - git checkout -b test origin/master |
25 | - git pull | 25 | - git pull |
26 | - git submodule update --recursive --init | 26 | - git submodule update --recursive --init |
27 | - rm -rf sources/meta-clang | 27 | - rm -rf sources/meta-clang |