cpp_playground/.drone.yml
wangjiacai 0ae5f80f36
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed
add inerview codes.
2022-11-12 16:40:18 +08:00

19 lines
425 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