Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ae75ab2 authored by Saalim Quadri's avatar Saalim Quadri Committed by Saalim Quadri
Browse files

CI: Ensure submodules are present before build

parent 1e473aed
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3,6 +3,10 @@ workflow:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    - if: $CI_COMMIT_BRANCH == "master"
    - if: $CI_COMMIT_TAG

variables:
  GIT_SUBMODULE_STRATEGY: recursive

stages:
  - build
  - filters
@@ -13,6 +17,9 @@ stages:
    - if: $CI_PIPELINE_SOURCE != "schedule"
  tags:
    - build-browser
  before_script:
    - git submodule update --init --recursive build/cromite
    - $CI_PROJECT_DIR/update_cromite_patches.sh
  artifacts:
    name: "$CI_JOB_NAME"
    paths: