From 94972d13f8df006940245172b51d2cd3127105be Mon Sep 17 00:00:00 2001 From: JakubLaptop Date: Tue, 26 Nov 2024 13:50:12 +0100 Subject: [PATCH] zad 2 --- .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 d629603..8f3b24e 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, " + - uses: action/checkout@v4 + - name: build using gcc + run: gcc -Wall -werorr main.c diff --git a/main.c b/main.c new file mode 100644 index 0000000..5125862 --- /dev/null +++ b/main.c @@ -0,0 +1,5 @@ +int main() +{ +printf("Halo, Welt!"); +return 0; +} \ No newline at end of file