Aggiunta main.c e Makefile
Some checks failed
Punisher CI/CD / build-and-test (push) Has been cancelled
Some checks failed
Punisher CI/CD / build-and-test (push) Has been cancelled
This commit is contained in:
18
.gitea/workflows/deploy.yaml
Normal file
18
.gitea/workflows/deploy.yaml
Normal 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
|
||||
Reference in New Issue
Block a user