added actions #2
@@ -0,0 +1,16 @@
|
|||||||
|
name: Prepare Build and Testing executable binary
|
||||||
|
run-name: ${{ gitea.actor }}
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Prepare-Build-Testing:
|
||||||
|
runs-on: alpine-sdk
|
||||||
|
steps:
|
||||||
|
- name: prepare-container
|
||||||
|
run: echo "83.172.39.220 gitea.home.com" >> /etc/hosts
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Building binary
|
||||||
|
run: make
|
||||||
|
- name: Testing to run binary
|
||||||
|
run: ./bin/sudo ls
|
||||||
Reference in New Issue
Block a user