Skip to content
Snippets Groups Projects
Commit 584d368a authored by WALTER NOA's avatar WALTER NOA
Browse files

0

parent f876e3e8
Branches
No related merge requests found
......@@ -11,21 +11,24 @@ compile-job:
script:
- echo "Compiling the project..."
- gcc -c c-check/interval.c
artifacts :
artifacts:
paths:
- interval.o
final-job:
stage: final # Define the new final job in the final stage
script:
- echo "All done" # Simple job script to indicate completion
test-job:
stage: test
before_script:
- apt-get update
- apt-get install -y check
script:
- echo "Testing..."
- gcc -c c-check/test_interval.c -lcheck -lm -lsubunit
- gcc -o test_interval interval.o test_interval.o
- gcc -c c-check/test_interval.c
- gcc -o test_interval interval.o test_interval.o -lcheck -lm -lsubunit
- ./test_interval
dependencies:
- compile-job
\ No newline at end of file
- compile-job
final-job:
stage: final
script:
- echo "All done"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment