Skip to content

Commit

Permalink
Merge pull request #188 from YoYoGames/adding.red.beta.green.workflows
Browse files Browse the repository at this point in the history
separated all the builds leaving CI to be run only on PR
  • Loading branch information
DiasFranciscoA authored Jan 9, 2025
2 parents 93b526f + f75de8e commit c4009ae
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 23 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/Beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Beta

on:

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 builds
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




26 changes: 3 additions & 23 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
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
pull_request:

jobs:

Expand All @@ -33,14 +19,8 @@ jobs:
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'
shell: cmd
- name: Testing on PR
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
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/Monthly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Monthly

on:

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 Monthly builds
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




43 changes: 43 additions & 0 deletions .github/workflows/Red.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Red

on:

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 Red builds
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




0 comments on commit c4009ae

Please sign in to comment.