Aggiunta main.c e Makefile
Some checks failed
Punisher CI/CD / build-and-test (push) Has been cancelled

This commit is contained in:
boloilking
2026-02-17 14:44:28 +01:00
parent 57b0b7dabb
commit 870dc2450a
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
name: Punisher CI/CD
on: [push]
jobs:
build-and-test:
runs-on: docker # Dice al runner di usare Docker
container:
image: gcc:latest # Usa un container con il compilatore C
options: --memory=128mb --cpus=0.5 # Limiti di risorse professionali
steps:
- name: Checkout del codice
uses: actions/checkout@v3
- name: Compilazione
run: make build
- name: Esecuzione Test
run: make run

5
Makefile Normal file
View File

@@ -0,0 +1,5 @@
build:
gcc -Wall main.c -o lab_app
run:
./lab_app

0
huh.c
View File

6
main.c Normal file
View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
printf("🚀 Punisher Lab: Codice eseguito con successo!\n");
return 0;
}