version: 2.1

# Local validation: circleci config validate .circleci/config.yml
# Mirrors build.config.yml for CircleCI CLI compatibility.

orbs: {}

jobs:
  android-build:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
      - run:
          name: Run docker build runner
          command: ./scripts/docker-build-runner.sh

workflows:
  androidcast:
    jobs:
      - android-build:
          filters:
            branches:
              only: [next, master]
