feat: add main.c, change ci.yml

This commit is contained in:
MichuMGW
2025-11-21 11:10:11 +01:00
parent f20cd27260
commit 7837222432
2 changed files with 11 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
ame: First CI
name: First CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Printing hello
run: echo "Hello world!"
runs-on: ubuntu-latest
steps:
- 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;
}