👷 full workflow
This commit is contained in:
parent
ecf4d5e91d
commit
5ebe722045
1 changed files with 16 additions and 5 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue