diff --git a/.circleci/config.yml b/.circleci/config.yml index d1d8ddec..40571d62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,9 +8,20 @@ jobs: - checkout - run: - name: Greeting - command: echo Hello, world. - + name: Install sudo + command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*' - run: - name: Print the Current Time - command: date + name: Install GCC + command: 'apt-get update && apt-get install -y gcc g++' + - run: + name: Install CMake + command: 'apt-get update && sudo apt-get install -y cmake' + - run: + name: Create build files + command: 'cmake -Bbuild' + - run: + name: Compile + command: 'cmake --build build' + - run: + name: Execute test suite + command: 'cd build ; ctest'