Add C program and GCC build in CI
Some checks failed
First CI / build (push) Failing after 8s

This commit is contained in:
Dana123098
2025-11-20 12:21:22 +01:00
parent 549ca1f988
commit 71e399dcb0
2 changed files with 9 additions and 5 deletions

View File

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