Spaces:
Running
Running
jhj0517
commited on
Create shell-scrpit-test.yml
Browse files
.github/workflows/shell-scrpit-test.yml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Shell Script Test
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches: ["feature/shell-script"]
|
6 |
+
|
7 |
+
env:
|
8 |
+
PYTHON_VERSION: '3.9'
|
9 |
+
|
10 |
+
jobs:
|
11 |
+
test-shell-script:
|
12 |
+
runs-on: ubuntu-latest
|
13 |
+
steps:
|
14 |
+
- name: 'Checkout GitHub Action'
|
15 |
+
uses: actions/checkout@v3
|
16 |
+
|
17 |
+
- name: Setup Python ${{ env.PYTHON_VERSION }} Environment
|
18 |
+
uses: actions/setup-python@v4
|
19 |
+
with:
|
20 |
+
python-version: ${{ env.PYTHON_VERSION }}
|
21 |
+
|
22 |
+
- name: 'Setup FFmpeg'
|
23 |
+
uses: FedericoCarboni/setup-ffmpeg@v3
|
24 |
+
id: setup-ffmpeg
|
25 |
+
with:
|
26 |
+
ffmpeg-version: release
|
27 |
+
architecture: 'arm64'
|
28 |
+
linking-type: static
|
29 |
+
|
30 |
+
- name: 'Execute Install.sh'
|
31 |
+
run: |
|
32 |
+
chmod +x ./Install.sh
|
33 |
+
./Install.sh
|
34 |
+
|
35 |
+
- name: 'Execute start-webui.sh'
|
36 |
+
shell: bash
|
37 |
+
run: |
|
38 |
+
chmod +x ./start-webui.sh
|
39 |
+
./start-webui.sh
|
40 |
+
|