1
0

update workflow
Some checks failed
Build / build-debian (push) Successful in 2m14s
Build / build-void (push) Has been cancelled
Build / build-alpine (push) Has been cancelled
Build / build-arch (push) Has been cancelled

This commit is contained in:
ІО-23 Шмуляр Олег 2025-05-24 18:38:39 +03:00
parent 4044b72470
commit 79c24b4ab6

View File

@ -4,15 +4,75 @@ on: [push]
jobs:
build-debian:
runs-on: debian-prepared
container:
image: debian-prepared:host
runs-on: debian
steps:
- 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
- name: Install tools
run: |
apt update
apt install -y git gcc
- name: Clone repository
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- 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
build-arch:
runs-on: arch
steps:
- name: Install tools
run: |
pacman -Sy git gcc
- name: Clone repository
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- 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
build-void:
runs-on: void
steps:
- name: Install tools
run: |
xbps-install -S git gcc
- name: Clone repository
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- 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
build-alpine:
runs-on: alpine
steps:
- name: Install tools
run: |
pkg add git gcc
- name: Clone repository
run: |
git init
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
git fetch
git checkout master
- name: Build funtions
run: gcc -c f.c
- name: Build core