Add main.c and update CI to build with gcc
Some checks failed
First CI / build (push) Failing after 9s

This commit is contained in:
Alicja Kwiatkowska
2025-11-19 23:24:04 +01:00
parent 85841b2846
commit 1866cf24cb
2 changed files with 8 additions and 2 deletions

View File

@@ -5,5 +5,6 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Printing hello - uses: actions/checkout@v4
run: echo "Hello, 🌏" - name: build using gcc
run: gcc -Wall -Werror main.c

5
main.c Normal file
View File

@@ -0,0 +1,5 @@
int main()
{
printf("Halo, Welt!");
return 0;
}