cpp_playground/.drone.yml
wangjiacai e78201ea5d
All checks were successful
continuous-integration/drone/push Build is passing
add sizeof
2022-11-28 15:27:06 +08:00

24 lines
542 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
- cd -