update4 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PX68K_Next Libretro | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
watch: # this is a hack that lets repo owners trigger a build by starring | |
types: [started] | |
if: github.actor == github.event.repository.owner.login | |
jobs: | |
px68k_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro | |
- name: build px68k_next with original c68k mpu | |
working-directory: px68k-libretro | |
run: | | |
make -j$(getconf _NPROCESSORS_ONLN) clean | |
make -j$(getconf _NPROCESSORS_ONLN) | |
zip -9 ../px68k_next_libretro.so.zip px68k_next_libretro.so | |
- name: Create new release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: Linux_64-bit | |
file: px68k_next_libretro.so.zip | |
overwrite: true | |
px68k_c68K_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro | |
- name: build px68k_next with latest c68k mpu | |
working-directory: px68k-libretro | |
run: | | |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 clean | |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 | |
zip -9 ../px68k-libretro_c68k_linux-x86_64.zip px68k_next_libretro.so | |
- name: Create new release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: Linux_64-bit | |
file: px68k-libretro_c68k_linux-x86_64.zip | |
overwrite: true | |
px68k_musashi_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro | |
- name: build px68k_next with musashi mpu | |
working-directory: px68k-libretro | |
run: | | |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 clean | |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 | |
zip -9 ../px68k-libretro_musashi_linux-x86_64.zip px68k_next_libretro.so | |
- name: Create new release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: Linux_64-bit | |
file: px68k-libretro_musashi_linux-x86_64.zip | |
overwrite: true |