2022-11-28 15:25:44 +08:00
|
|
|
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
|
|
|
|
- cd -
|