👷 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
command: 'apt-get update && apt-get install -y gcc g++'
- run:
name: Install CMake
command: 'apt-get update && sudo apt-get install -y cmake'
name: Install CMake and Ninja
command: 'apt-get update && sudo apt-get install -y cmake ninja-build'
- run:
name: Create build files
command: 'mkdir build ; cd build ; cmake ..'
command: 'mkdir build ; cd build ; cmake .. -GNinja'
- run:
name: Compile
command: 'cmake --build build'
- run:
name: Execute test suite
command: 'cd build ; ctest'
command: 'cd build ; ctest -j 10'