cpp_playground/.drone.yml
wangjiacai 8644965433
All checks were successful
continuous-integration/drone Build is passing
add template
2023-08-28 23:52:31 +08:00

29 lines
763 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
- g++ template.cpp -o template && ./template
- echo "following program fails to show the effect of 'likely' due to CPU branch predictor."
- g++ likely.cpp -o likely && ./likely
- cd -