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 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, 🌍" - 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;
}