forked from flyinghead/flycast
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (38 loc) · 1.04 KB
/
run-game.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: RunGame
on:
workflow_dispatch:
inputs:
flycast-url:
description: 'Flycast download url'
default: ''
required: true
run-function:
description: 'First argument of run.py'
default: 'rbk_test_random'
required: true
iteration:
description: 'Number of iteration'
default: '3'
required: true
timeout:
description: 'Timeout seconds for single iteration'
default: '120'
required: true
maxrebattle:
description: 'Max rebattle'
default: '1'
required: true
jobs:
run-game:
name: RunGame
runs-on: [win-mini]
env:
N: 4
ROM: "C:\\rom\\gdx-disc2\\gdx-disc2.gdi"
FLYCAST: ${{ github.event.inputs.flycast-url }}
ITERATION: ${{ github.event.inputs.iteration }}
TIMEOUT: ${{ github.event.inputs.timeout }}
MAXREBATTLE: ${{ github.event.inputs.maxrebattle }}
steps:
- uses: actions/checkout@v3
- run: python run.py ${{ github.event.inputs.run-function }}