From 8fad44b198098b69e18d6e5af3dba56b0a94caad Mon Sep 17 00:00:00 2001 From: RaVi Date: Tue, 21 Nov 2023 13:55:54 +0100 Subject: [PATCH] ADDED C CODE --- .gitea/workflows/ci.yml | 6 ++++-- main.c | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c01d7a7..492ecef 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,8 +1,10 @@ name: First CI on: [push] + jobs: build: runs-on: ubuntu-latest steps: - - name: Printing hello - run: echo "Hello, " \ No newline at end of file + - uses: actions/checkout@v4 + - name: build using gcc + run: gcc -Wall -Werror main.c \ No newline at end of file diff --git a/main.c b/main.c new file mode 100644 index 0000000..316f221 --- /dev/null +++ b/main.c @@ -0,0 +1,6 @@ +#include + +int main(){ + printf("Halo, Welt!"); + return 0; +} \ No newline at end of file