# INTENTIONALLY INVALID. Well-formed YAML, invalid Azure Pipelines in three documented ways:
#   1. `stages` and top-level `steps` are mutually exclusive; both are present
#   2. the Deploy stage depends on a stage name that is never declared
#   3. `pool` is given a bare string where a mapping or a named pool is required
trigger:
  - main

pool: ubuntu-latest

steps:
  - script: echo "top-level steps"

stages:
  - stage: Build
    jobs:
      - job: Compile
        steps:
          - script: make build

  - stage: Deploy
    dependsOn: Package
    jobs:
      - job: Ship
        steps:
          - script: echo ship
