add main.c

This commit is contained in:
alexkrdb 2023-11-21 16:19:42 +01:00
parent c82df3ba7e
commit 7bb097c786
2 changed files with 8 additions and 2 deletions

View File

@ -5,5 +5,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Printing hello
run: echo "Hello, world"
- uses: actions/checkout@v4
- 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;
}