Skip to content
Snippets Groups Projects
.gitlab-ci.yml 375 B
Newer Older
WALTER NOA's avatar
0
WALTER NOA committed
default:
  image: gcc:latest

stages:
  - build
  - test
  - final

compile-job:
  stage: build
  script:
    - echo "Compiling the project..."
WALTER NOA's avatar
0  
WALTER NOA committed
    - gcc -c c-check/interval.c
WALTER NOA's avatar
0
WALTER NOA committed
  artifacts :
    paths:
WALTER NOA's avatar
0  
WALTER NOA committed
      - interval.o
      
WALTER NOA's avatar
0
WALTER NOA committed
final-job:
  stage: final  # Define the new final job in the final stage
  script:
    - echo "All done"  # Simple job script to indicate completion