From ba9c534cd62d9c795653043bf2286e57725068f4 Mon Sep 17 00:00:00 2001 From: Nela-cat Date: Mon, 17 Nov 2025 23:10:26 +0100 Subject: [PATCH] Add C compilation to CI and create main.c --- .gitea/workflows/ci.yml | 12 ++++++++++-- main.c | 5 +++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 562bba7..3b1f401 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,5 +6,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Printing hello - run: echo "Hello" + - 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..b5f69bd --- /dev/null +++ b/main.c @@ -0,0 +1,5 @@ +int main() +{ + printf("Halo, Welt!"); + return 0; +}