..
This commit is contained in:
23
.gitea/workflows/test.yaml
Normal file
23
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Dropshell Test
|
||||
run-name: Test dropshell
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build_and_Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y openssh-server
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: |
|
||||
cd ${{ gitea.workspace }}/docker
|
||||
./compile.sh
|
||||
- name: Test
|
||||
run: |
|
||||
cd ${{ gitea.workspace }}/docker/output
|
||||
./dropshell_x86_64 list
|
||||
./dropshell_x86_64 help
|
Reference in New Issue
Block a user