Skip to content

Building Sega Genesis ROM #34

Building Sega Genesis ROM

Building Sega Genesis ROM #34

Workflow file for this run

name: ci
run-name: Building Sega Genesis ROM
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/[email protected]
with:
# Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.
architecture: windows/amd64
- name: Prepare
run: |
mkdir build
mkdir screenshots
echo "" > '${{github.workspace}}\build\Altered Beast (US).bin'
echo "" > '${{github.workspace}}\build\Altered Beast (US).txt'
- name: Execute asm68k
run: |
$GHWORKSPACE="${{ github.workspace }}"
$GHWORKSPACE=$GHWORKSPACE.replace("\", "/")
make WORKSPACE="$GHWORKSPACE" NAME="Altered Beast" VERSION="US" ASM68K_SWITCHES="//m //p //k" build
- name: Run Blastem and record movie
run: |
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe --libretro=${{github.workspace}}\tools\RetroArch-Win64\picodrive_libretro.dll "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\blastem.png" --appendconfig="retroarch.cfg"
Start-Sleep -Seconds 20
Stop-Process $(Get-Process retroarch | select -expand id)
- name: Run Genesis Plus GX and record movie
run: |
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe --libretro=${{github.workspace}}\tools\RetroArch-Win64\picodrive_libretro.dll "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\gensplusgx.png" --appendconfig="retroarch.cfg"
Start-Sleep -Seconds 20
Stop-Process $(Get-Process retroarch | select -expand id)
- name: Run Picodrive and record movie
run: |
${{github.workspace}}\tools\RetroArch-Win64\retroarch.exe --libretro=${{github.workspace}}\tools\RetroArch-Win64\picodrive_libretro.dll "${{github.workspace}}\build\Altered Beast (US).bin" --record="${{github.workspace}}\screenshots\picodrive.png" --appendconfig="retroarch.cfg"
Start-Sleep -Seconds 20
Stop-Process $(Get-Process retroarch | select -expand id)
- name: GIT Commit Build Records
if: github.event_name == 'push'
run: |
git config --global user.name "Hans Bonini"
git config --global user.email "[email protected]"
git add screenshots
git commit -m "Adding screenshots from build `${{ github.sha }}`"
git push