version: "3"

services:

  runtime-setup:
    image: swift-certificates:22.04-5.8
    build:
      args:
        ubuntu_version: "jammy"
        swift_version: "5.8"

  test:
    image: swift-certificates:22.04-5.8
    environment:
      - SWIFT_VERSION=5.8
      - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
      - IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
      # - SANITIZER_ARG=--sanitize=thread # TSan broken still

  shell:
    image: swift-certificates:22.04-5.8
    environment:
      - SWIFT_VERSION=5.8

  update-benchmark-baseline:
    image: swift-certificates:22.04-5.8
    environment:
      - SWIFT_VERSION=5.8
