👷 full workflow

This commit is contained in:
Niels Lohmann 2019-03-30 17:14:50 +01:00
parent ecf4d5e91d
commit 5ebe722045
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -8,9 +8,20 @@ jobs:
- checkout - checkout
- run: - run:
name: Greeting name: Install sudo
command: echo Hello, world. command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*'
- run: - run:
name: Print the Current Time name: Install GCC
command: date 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'