Skip to content
Snippets Groups Projects
Commit 231a465b authored by Pierre Michiels's avatar Pierre Michiels
Browse files

commit

parent 58fcbad3
Branches
No related tags found
No related merge requests found
Pipeline #10487 passed
# #default:
# #image: ubuntu:18.04
# stages:
# - build
# - test
# - delivery
# variables:
# HELLO_WORLD: "hello from pipeline"
# simple-test:
# stage: test
# script:
# - echo $HELLO_WORLD && exit 0
# pipou:
# stage: build
# script:
# - apt update
# - apt install gcc -y
# - gcc -Wall -Wextra -Werror -o web_with_c.c exe
# papou:
# stage: delivery
# script:
# - ./exe
image: ubuntu:18.04
stages:
......
image: ubuntu:18.04
stages:
- build
- test
- delivery
variables:
HELLO_WORLD: "Hello from pipeline"
before_script:
- apt-get update -y && apt-get install gcc -y
build-phase:
stage: build
script:
- apt install build-essential -y
- gcc -Wall -Werror -Wextra -o web_generator web_generator.c
artifacts:
paths:
- web_generator
test-phase:
stage: test
script:
- echo "Hello, $HELLO_WORLD"
- exit 0
delivery-phase:
stage: delivery
script:
./web_with_c > page.html
artifacts:
paths:
- page.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment