update workflow
This commit is contained in:
parent
bd2761bbeb
commit
b6d055007e
@ -28,7 +28,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
yes \| pacman -Sy git gcc
|
pacman -Sy --noconfirm git gcc
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
run: |
|
run: |
|
||||||
git init
|
git init
|
||||||
@ -46,36 +46,46 @@ jobs:
|
|||||||
runs-on: void
|
runs-on: void
|
||||||
steps:
|
steps:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
xbps-install -S git gcc
|
xbps-install -Sy git gcc
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
git init
|
git init
|
||||||
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
|
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
|
||||||
git fetch
|
git fetch
|
||||||
git checkout master
|
git checkout master
|
||||||
- name: Build funtions
|
- name: Build funtions
|
||||||
|
shell: sh
|
||||||
run: gcc -c f.c
|
run: gcc -c f.c
|
||||||
- name: Build core
|
- name: Build core
|
||||||
|
shell: sh
|
||||||
run: gcc -c core.c
|
run: gcc -c core.c
|
||||||
- name: Link program
|
- name: Link program
|
||||||
|
shell: sh
|
||||||
run: gcc f.o core.o -o core
|
run: gcc f.o core.o -o core
|
||||||
|
|
||||||
build-alpine:
|
build-alpine:
|
||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
pkg add git gcc
|
pkg add git gcc
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
git init
|
git init
|
||||||
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
|
git remote add gitea http://10.1.1.1:3000/hasslesstech/test3
|
||||||
git fetch
|
git fetch
|
||||||
git checkout master
|
git checkout master
|
||||||
- name: Build funtions
|
- name: Build funtions
|
||||||
|
shell: sh
|
||||||
run: gcc -c f.c
|
run: gcc -c f.c
|
||||||
- name: Build core
|
- name: Build core
|
||||||
|
shell: sh
|
||||||
run: gcc -c core.c
|
run: gcc -c core.c
|
||||||
- name: Link program
|
- name: Link program
|
||||||
|
shell: sh
|
||||||
run: gcc f.o core.o -o core
|
run: gcc f.o core.o -o core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user