1
0
test3/.gitea/workflows/test1.yaml
hasslesstech 401e2a3dde
Some checks failed
Build / build (push) Failing after 1s
update workflow
2025-05-24 17:54:38 +03:00

27 lines
634 B
YAML

name: Build
run-name: build
on: [push]
jobs:
build:
runs-on: debian-prepared
container:
image: debian-prepared:latest
steps:
- run: pwd
- run: echo "${{ gitea.workspace }}"
- run: apt update
- run: apt install -y git
- run: git init
- run: git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
- run: git fetch
- run: git checkout master
- run: ls -lh
- run: apt install -y gcc
- name: Build funtions
run: gcc -c f.c
- name: Build core
run: gcc -c core.c
- name: Link program
run: gcc f.o core.o -o core