Commit 9226e19e authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'ci-try-outs' into 'develop'

MR adding header

See merge request !11
parents d1c677b0 23857c1a
Pipeline #8844 passed with stage
in 0 seconds
/*
* Copyright OAI Software Alliance - 2018
* Author Raphael Defosseux
* Comments : Proper comments
*/
#include <stdio.h>
typedef unsigned int oai_uint_t;
......@@ -37,9 +37,9 @@ pipeline {
stage ("Build") {
steps {
gitlabCommitStatus(name: "Build") {
sh "gcc src/test1.c -o bin/test1"
sh "gcc src/test2.c -o bin/test2"
sh "gcc src/test2.c -o bin/test3"
sh "gcc src/test1.c -I./include -o bin/test1"
sh "gcc src/test2.c -I./include -o bin/test2"
sh "gcc src/test2.c -I./include -o bin/test3"
sh "cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
}
}
......
......@@ -4,10 +4,11 @@
* Comments : Proper comments
*/
#include <stdio.h>
#include "test1.h"
int main()
{
unsigned int testId = 1;
oai_uint_t testId = 1;
printf ("Test%d\n", testId);
#ifdef _DEBUG
char a[10];
......
Markdown is supported
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