Initial commit

This commit is contained in:
snow flurry 2025-01-07 13:21:52 -08:00
commit 445fe859a2
2 changed files with 28 additions and 0 deletions

18
.ci/Jenkinsfile vendored Normal file
View file

@ -0,0 +1,18 @@
pipeline {
/* choose agents per stage */
agent none
stages {
stage('Build') {
agent {
docker {
image 'gcc:latest'
args '-v ${PWD}:/src -w /src'
}
}
steps {
sh 'gcc -o hello main.c'
}
}
}
}

10
main.c Normal file
View file

@ -0,0 +1,10 @@
/* main.c: does very important work */
#include <stdio.h>
int
main(int argc, char *argv[])
{
printf("Hello, CI!\n");
return 0;
}