version: 2

jobs:
  build_x86_64:
    docker:
      - image: cimg/base:2020.04
    steps:
      - checkout
      - run: sudo apt-get update; sudo apt-get install -y --no-install-recommends autoconf automake libtool pkg-config git cmake make g++ liblog4cpp5-dev libvpx-dev libx264-dev libjpeg-dev 
      - run: make install PREFIX=/tmp/artifact
      - store_artifacts:
          path: /tmp/artifact 

workflows:
  version: 2
  build:
    jobs:
      - build_x86_64
