From 18e891d369ba27ab02cddd6c3b6741a942de6028 Mon Sep 17 00:00:00 2001 From: SEBALAP2 Date: Tue, 26 Nov 2024 14:11:52 +0100 Subject: [PATCH] Third commit --- .gitea/workflows/ci.yml | 5 +++-- .gitea/workflows/main.c | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 62547ae..492ecef 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,5 +5,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Printing hello - run: echo "Hello, world" \ 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/.gitea/workflows/main.c b/.gitea/workflows/main.c new file mode 100644 index 0000000..f08b6aa --- /dev/null +++ b/.gitea/workflows/main.c @@ -0,0 +1,5 @@ +int main() +{ + printf("Halo, Welt!"); + return 0; +} \ No newline at end of file