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