From 673ab64e7eb0a816014fcd7323495062c3cfdf7d Mon Sep 17 00:00:00 2001 From: Igor_Niemiec Date: Mon, 8 Dec 2025 14:34:50 +0100 Subject: [PATCH] Added main.c --- .gitea/workflows/ci.yml | 9 +++++---- main.c | 5 +++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d02f3e4..dcabf62 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,7 +3,8 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - - name: Printing hello - run: echo "Hello, " \ No newline at end of file + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: build using gcc + run: gcc -Wall -Werror main.c diff --git a/main.c b/main.c new file mode 100644 index 0000000..f08b6aa --- /dev/null +++ b/main.c @@ -0,0 +1,5 @@ +int main() +{ + printf("Halo, Welt!"); + return 0; +} \ No newline at end of file