👷 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
|
- 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'
|
||||||
|
|
Loading…
Reference in a new issue