# This is a sample build configuration for C++.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: gcc:6

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - apt-get update
          - apt-get install -y cmake
          - mkdir build
          - cd build
          - cmake ../
          - make
          - cd demo
          - make
# This is a sample build configuration for C++.
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: gcc:8

pipelines:
  default:
    - parallel:
      - step:
        # Test whether it compiles on older GCC
        image: gcc:6
        name: GCC 6 compile
        script:
          - apt-get -qq update && apt-get -qq install -y cmake
          - mkdir build && cd build && cmake ../ && make
          - cd demo && make
      - step:
        # Test whether it compiles on newer GCC
        image: gcc:8
        name: GCC 8 compile
        script:
          - apt-get -qq update && apt-get -qq install -y cmake
          - mkdir build && cd build && cmake ../ && make
          - cd demo && make

Add newer compilers to the CI script.
Add newer compilers to the CI script.

This commit will be the first test, hope it works...
