Skip to content

Commit

Permalink
Automatic libretro boot ROM rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Dec 30, 2022
1 parent 288bd84 commit 4ebe973
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/libretro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "libretro branch update"

on:
push:
branches:
- master

jobs:
libretro-prebuilt-update:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
name: Checkout
with:
repository: LIJI32/SameBoy
token: ${{ secrets.WEBSITETOKEN }}
submodules: false
- name: Install Deps
shell: bash
run: |
./.github/actions/install_deps.sh ${{ matrix.os }}
- name: Build Boot ROMs
run: |
make -j bootroms && mv build/bin/BootROMs BootROMs/prebuilt
- name: Push changes
run: |
git config --global user.name 'Libretro Updater' && (git branch --delete libretro || true) && git checkout -b libretro && git config --global user.email '<>' && git add BootROMs/prebuilt/* && git commit -m 'Update prebuilt boot ROMs' && git push --force

0 comments on commit 4ebe973

Please sign in to comment.