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

Commit 3008edbf authored by Jonathan Klee's avatar Jonathan Klee
Browse files

ci: run build jobs on merge request pipelines

parent b18d94ce
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ cache:

buildDebug:
  stage: build
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
    - if: '$CI_COMMIT_BRANCH'
  script:
    - ./gradlew assembleDebug
  artifacts:
@@ -35,6 +38,9 @@ buildDebug:

buildRelease:
  stage: build
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
    - if: '$CI_COMMIT_BRANCH'
  script:
    - ./gradlew assembleRelease
  artifacts: