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

27 lines
637 B
YAML

name: Build
run-name: build
on: [push]
jobs:
build:
runs-on: debian-prepared
container:
image: localhost/debian-prepared
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