27 lines
711 B
YAML
27 lines
711 B
YAML
kind: pipeline
|
|
name: default
|
|
steps:
|
|
- name: test
|
|
image: gcc:latest
|
|
commands:
|
|
- g++ hello.cpp -o hello && ./hello
|
|
|
|
- cd class || exit
|
|
- g++ construct.cpp -o construct && ./construct
|
|
- g++ inherit.cpp -o inherit && ./inherit
|
|
- cd -
|
|
|
|
- cd stl || exit
|
|
- g++ map.cpp -o map && ./map
|
|
- cd -
|
|
|
|
- cd interview || exit
|
|
- g++ memcache.cpp -o memcache && ./memcache
|
|
- cd -
|
|
|
|
- cd misc || exit
|
|
- g++ sizeof.cpp -o sizeof && ./sizeof
|
|
- g++ caching.cpp -o caching && ./caching
|
|
- echo "following program fails to show the effect of 'likely' due to CPU branch predictor."
|
|
- g++ likely.cpp -o likely && ./likely
|
|
- cd - |