From 4dc27e3d5f402700e6fdcaacc26a1ab9f9058313 Mon Sep 17 00:00:00 2001 From: Jakub Furtak Date: Fri, 1 Dec 2023 11:04:03 +0100 Subject: [PATCH] add c program --- .gitea/workflows/ci.yml | 5 +++-- main.c | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b383f54..f59fe82 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,5 +4,6 @@ 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..f08b6aa --- /dev/null +++ b/main.c @@ -0,0 +1,5 @@ +int main() +{ + printf("Halo, Welt!"); + return 0; +} \ No newline at end of file