From e02edacffc471c805eb548de983bb51de86d533d Mon Sep 17 00:00:00 2001 From: Kowal <133172565+Koooowal@users.noreply.github.com> Date: Thu, 20 Nov 2025 14:59:22 +0100 Subject: [PATCH] Opis zmian zad2 --- .gitea/workflows/ci.yml | 7 +++++-- .gitea/workflows/main.c | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c01d7a7..234e57a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,8 +1,11 @@ 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/.gitea/workflows/main.c b/.gitea/workflows/main.c new file mode 100644 index 0000000..bc4c414 --- /dev/null +++ b/.gitea/workflows/main.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + printf("Halo, Welt!"); + return 0; +}