From 78372224327b08e11fb147a17a3f5b0bc5b46f9d Mon Sep 17 00:00:00 2001 From: MichuMGW Date: Fri, 21 Nov 2025 11:10:11 +0100 Subject: [PATCH] feat: add main.c, change ci.yml --- .gitea/workflows/ci.yml | 11 ++++++----- main.c | 5 +++++ 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 405322b..473986c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,9 +1,10 @@ -ame: First CI +name: First CI on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - - name: Printing hello - run: echo "Hello world!" \ 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