Skip to content

Commit

Permalink
update5
Browse files Browse the repository at this point in the history
  • Loading branch information
negativeExponent committed Sep 13, 2024
1 parent 091cef0 commit 2cd1553
Showing 1 changed file with 71 additions and 2 deletions.
73 changes: 71 additions & 2 deletions .github/workflows/px68k.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
run: |
make -j$(getconf _NPROCESSORS_ONLN) clean
make -j$(getconf _NPROCESSORS_ONLN)
strip -s px68k_next_libretro.dll
zip -9 ../px68k_next_libretro.so.zip px68k_next_libretro.so
- name: Create new release
uses: svenstaro/upload-release-action@v2
Expand All @@ -38,7 +39,8 @@ jobs:
working-directory: px68k-libretro
run: |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 clean
make -j$(getconf _NPROCESSORS_ONLN) C68K=1
make -j$(getconf _NPROCESSORS_ONLN) C68K=1
strip -s px68k_next_libretro.dll
zip -9 ../px68k-libretro_c68k_linux-x86_64.zip px68k_next_libretro.so
- name: Create new release
uses: svenstaro/upload-release-action@v2
Expand All @@ -57,7 +59,8 @@ jobs:
working-directory: px68k-libretro
run: |
make -j$(getconf _NPROCESSORS_ONLN) C68K=1 clean
make -j$(getconf _NPROCESSORS_ONLN) C68K=1
make -j$(getconf _NPROCESSORS_ONLN) C68K=1
strip -s px68k_next_libretro.dll
zip -9 ../px68k-libretro_musashi_linux-x86_64.zip px68k_next_libretro.so
- name: Create new release
uses: svenstaro/upload-release-action@v2
Expand All @@ -66,3 +69,69 @@ jobs:
tag: Linux_64-bit
file: px68k-libretro_musashi_linux-x86_64.zip
overwrite: true

px68k_windows:
name: Build for Windows via cross-compile
runs-on: ubuntu-latest
steps:
- name: Install needed packages
run: sudo apt install wget git build-essential mingw-w64 mingw-w64-x86-64-dev mingw-w64-tools
- 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 -f Makefile.libretro CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ platform=win -j8
strip -s px68k_next_libretro.dll
zip -9 ../px68k_next_libretro.dll.zip px68k_next_libretro.dll
- name: Create new release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: Windows_64-bit
file: px68k_next_libretro.dll.zip
overwrite: true

px68k_c68k_windows:
name: Build for Windows via cross-compile
runs-on: ubuntu-latest
steps:
- name: Install needed packages
run: sudo apt install wget git build-essential mingw-w64 mingw-w64-x86-64-dev mingw-w64-tools
- name: Checkout source
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro
- name: build px68k_next with c68k mpu
working-directory: px68k-libretro
run: |
make -f Makefile.libretro CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ platform=win -j8 C68K=1
strip -s px68k_next_libretro.dll
zip -9 ../px68k-libretro_c68k_windows-x86_64.zip px68k_next_libretro.dll
- name: Create new release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: Windows_64-bit
file: px68k-libretro_c68k_windows-x86_64.zip
overwrite: true

px68k_musashi_windows:
name: Build for Windows via cross-compile
runs-on: ubuntu-latest
steps:
- name: Install needed packages
run: sudo apt install wget git build-essential mingw-w64 mingw-w64-x86-64-dev mingw-w64-tools
- 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 -f Makefile.libretro CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ platform=win -j8 MUSASHI=1
strip -s px68k_next_libretro.dll
zip -9 ../px68k-libretro_musashi_windows-x86_64.zip px68k_next_libretro.dll
- name: Create new release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: Windows_64-bit
file: px68k-libretro_musashi_windows-x86_64.zip
overwrite: true

0 comments on commit 2cd1553

Please sign in to comment.