added main.c, changes ci.yml

This commit is contained in:
magda 2023-11-21 16:45:01 +01:00
parent 9d0768d110
commit a0596610dc
2 changed files with 9 additions and 2 deletions

View File

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