Commit 04f76652 authored by brizental's avatar brizental
Browse files

fixup! Add CI for Base Browser

parent d372dc36
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -4,11 +4,11 @@ lint-all:
  image: $IMAGE_PATH
  image: $IMAGE_PATH
  interruptible: true
  interruptible: true
  variables:
  variables:
    MOZBUILD_STATE_PATH: "$CI_PROJECT_DIR/.cache/mozbuild"
    # Has to be the same as defined in `containers/base/Containerfile`
    MOZBUILD_STATE_PATH: "/var/tmp/mozbuild"
  cache:
  cache:
    paths:
    paths:
      - node_modules
      - node_modules
      - .cache/mozbuild
    # Store the cache regardless on job outcome
    # Store the cache regardless on job outcome
    when: 'always'
    when: 'always'
    # Share the cache throughout all pipelines running for a given branch
    # Share the cache throughout all pipelines running for a given branch
@@ -17,7 +17,7 @@ lint-all:
    # Run these jobs in the browser dedicated runners.
    # Run these jobs in the browser dedicated runners.
    - firefox
    - firefox
  script:
  script:
    - ./mach configure --without-wasm-sandboxed-libraries --with-base-browser-version=0.0.0
    - ./mach configure --with-base-browser-version=0.0.0
    - .gitlab/ci/jobs/lint/helpers.py --get-changed-files | xargs -0 --no-run-if-empty ./mach lint -v
    - .gitlab/ci/jobs/lint/helpers.py --get-changed-files | xargs -0 --no-run-if-empty ./mach lint -v
  rules:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'