From 40222b22c2f6baea5a9f2bc5fedcf630e6a87df0 Mon Sep 17 00:00:00 2001 From: Jakub Nowosad <63680019+Ocayy@users.noreply.github.com> Date: Tue, 9 Dec 2025 00:45:29 +0100 Subject: [PATCH] add CI workflow and initial main.c file with a simple main function --- .gitea/workflows/ci.yml | 6 ++++-- main.c | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9819dbf..374285c 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 diff --git a/main.c b/main.c new file mode 100644 index 0000000..04f8178 --- /dev/null +++ b/main.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + pritnf("Halo, welt!"); + return 0; +} \ No newline at end of file