Skip to content

Commit

Permalink
Increase timer on pipeline recording
Browse files Browse the repository at this point in the history
  • Loading branch information
hansbonini committed Jul 5, 2024
1 parent 36255d7 commit bbd3761
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,21 @@ jobs:
- name: Run Blastem and record movie
run: |
$timer = New-Object timers.timer
$timer.interval = 20000
$timer.interval = 50000
Register-ObjectEvent -InputObject $timer -EventName Elapsed -SourceIdentifier Timer.Output -Action { Stop-Process $(Get-Process retroarch | select -expand id) }
$timer.Enabled = $true
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe -L "${{github.workspace}}\tools\RetroArch-Win64\cores\blastem_libretro.dll" "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\blastem.png" --appendconfig="${{github.workspace}}\retroarch.cfg" --verbose
while ($true) { Start-Sleep -Seconds 1 }
- name: Run Genesis Plus GX and record movie
run: |
$timer = New-Object timers.timer
$timer.interval = 20000
$timer.interval = 50000
Register-ObjectEvent -InputObject $timer -EventName Elapsed -SourceIdentifier Timer.Output -Action { Stop-Process $(Get-Process retroarch | select -expand id) }
$timer.Enabled = $true
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe -L "${{github.workspace}}\tools\RetroArch-Win64\cores\genesis_plus_gx_libretro.dll" "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\gensplusgx.png" --appendconfig="${{github.workspace}}\retroarch.cfg"
- name: Run Picodrive and record movie
run: |
$timer = New-Object timers.timer
$timer.interval = 20000
$timer.interval = 50000
Register-ObjectEvent -InputObject $timer -EventName Elapsed -SourceIdentifier Timer.Output -Action { Stop-Process $(Get-Process retroarch | select -expand id) }
$timer.Enabled = $true
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe -L "${{github.workspace}}\tools\RetroArch-Win64\cores\picodrive_libretro.dll" "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\picodrive.png" --appendconfig="${{github.workspace}}\retroarch.cfg"
Expand Down

0 comments on commit bbd3761

Please sign in to comment.