👷 adding concurrency

This commit is contained in:
Niels Lohmann 2019-03-30 17:32:52 +01:00
parent a5e00f2cf7
commit 0a57c51a69
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -14,14 +14,14 @@ jobs:
name: Install GCC name: Install GCC
command: 'apt-get update && apt-get install -y gcc g++' command: 'apt-get update && apt-get install -y gcc g++'
- run: - run:
name: Install CMake name: Install CMake and Ninja
command: 'apt-get update && sudo apt-get install -y cmake' command: 'apt-get update && sudo apt-get install -y cmake ninja-build'
- run: - run:
name: Create build files name: Create build files
command: 'mkdir build ; cd build ; cmake ..' command: 'mkdir build ; cd build ; cmake .. -GNinja'
- run: - run:
name: Compile name: Compile
command: 'cmake --build build' command: 'cmake --build build'
- run: - run:
name: Execute test suite name: Execute test suite
command: 'cd build ; ctest' command: 'cd build ; ctest -j 10'