From 8f1162246d42c38d44eeec408d11a361a33e87cb Mon Sep 17 00:00:00 2001 From: Sergey Cherepiuk Date: Thu, 23 Nov 2023 16:20:46 +0100 Subject: [PATCH] Modified the pipeline --- .gitea/workflows/ci.yml | 3 ++- main.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 main.c diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a75dcf4..1a59e26 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,5 +5,6 @@ jobs: build: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Printing hello - run: echo "Hello, World!" \ No newline at end of file + run: gcc -Wall -Werror main.c \ No newline at end of file diff --git a/main.c b/main.c new file mode 100644 index 0000000..77317e1 --- /dev/null +++ b/main.c @@ -0,0 +1,4 @@ +int main() { + printf("Hello, World!"); + return 0; +} \ No newline at end of file