2022-09-25 22:14:42 +08:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
steps:
|
2022-09-25 22:58:44 +08:00
|
|
|
- name: test
|
|
|
|
image: gcc:latest
|
|
|
|
commands:
|
2022-09-25 22:59:42 +08:00
|
|
|
- g++ hello.cpp -o hello && ./hello
|
2022-09-25 22:58:44 +08:00
|
|
|
|
|
|
|
- cd class || exit
|
2022-09-25 22:59:42 +08:00
|
|
|
- g++ construct.cpp -o construct && ./construct
|