-
Notifications
You must be signed in to change notification settings - Fork 11
55 lines (48 loc) · 1.58 KB
/
CI.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
pull_request:
workflow_dispatch:
inputs:
CONFIG_FILE:
description: "CONFIG_FILE"
required: true
RSS_Feed:
description: "RSS_Feed"
required: false
type: string
EXTRA_PARAMS:
description: "EXTRA_PARAMS from config"
required: false
type: string
jobs:
CI:
name: "CI"
runs-on: Windows
timeout-minutes: 50
steps:
- name: Check out the GM-TestFramework repo
uses: actions/checkout@v4
with:
path: GM-TF
- name: Wait for 10 Minutes
run: Start-Sleep -Seconds 300
shell: pwsh
- run: .\setup.bat
working-directory: GM-TF
shell: cmd
- name: Testing Manually witth passing RSS_Feed for Beta and Monthly builds
if: github.event_name == 'workflow_dispatch'
run: run_ci.bat C:\GM-TestFramework\configs\${{ github.event.inputs.CONFIG_FILE }} ${{ github.event.inputs.RSS_Feed }} ${{ github.event.inputs.EXTRA_PARAMS }}
working-directory: GM-TF
shell: cmd
- name: Testing on PR
if: github.event_name == 'pull_request'
run: run_ci.bat C:\GM-TestFramework\configs\config_windows.json https://gms.yoyogames.com/Zeus-Runtime-Nocturnus-I.rss
working-directory: GM-TF
shell: cmd
- name: Upload Results Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: summary_file
path: ${{ github.workspace }}\GM-TF\results