Compare commits

...

2 Commits

Author SHA1 Message Date
Nela-cat
b9c00472c6 Fix C program by including stdio.h
All checks were successful
First CI / build (push) Successful in 9s
2025-11-17 23:12:15 +01:00
Nela-cat
ba9c534cd6 Add C compilation to CI and create main.c 2025-11-17 23:10:26 +01:00
2 changed files with 18 additions and 2 deletions

View File

@@ -6,5 +6,13 @@ 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

8
main.c Normal file
View File

@@ -0,0 +1,8 @@
#include <stdio.h>
int main()
{
printf("Halo, Welt!");
return 0;
}