diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7061a6e..9a868c7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -3,16 +3,20 @@ on: [push] jobs: build-and-test: - runs-on: ubuntu-latest # Dice al runner di usare Docker + runs-on: ubuntu-latest container: - image: gcc:latest # Usa un container con il compilatore C - options: --memory=128mb --cpus=0.5 # Limiti di risorse professionali + # Questa immagine รจ lo standard professionale per i runner Gitea/Act + image: catthehacker/ubuntu:act-latest + options: --memory=128mb --cpus=0.5 steps: - name: Checkout del codice uses: actions/checkout@v3 - - name: Compilazione + - name: Installazione dipendenze (se mancano) + run: apt-get update && apt-get install -y build-essential + + - name: Compilazione Professionale run: make build - - name: Esecuzione Test + - name: Esecuzione Sandbox run: make run \ No newline at end of file