update workflow
This commit is contained in:
parent
4044b72470
commit
79c24b4ab6
@ -4,15 +4,75 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-debian:
|
build-debian:
|
||||||
runs-on: debian-prepared
|
runs-on: debian
|
||||||
container:
|
|
||||||
image: debian-prepared:host
|
|
||||||
steps:
|
steps:
|
||||||
- run: git init
|
- name: Install tools
|
||||||
- run: git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
|
run: |
|
||||||
- run: git fetch
|
apt update
|
||||||
- run: git checkout master
|
apt install -y git gcc
|
||||||
- run: ls -lh
|
- 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
|
- name: Build funtions
|
||||||
run: gcc -c f.c
|
run: gcc -c f.c
|
||||||
- name: Build core
|
- name: Build core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user