-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from negativeExponent/px68k-cores
Px68k cores
- Loading branch information
Showing
5 changed files
with
152 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: px68k-libretro (c68k cpu core) Linux x86_64 | ||
|
||
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: | ||
Linux: | ||
name: Build for Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install needed packages | ||
run: sudo apt install wget git build-essential | ||
- name: Checkout source | ||
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro && git submodule update --init | ||
- name: Check gcc version | ||
run: | | ||
gcc --version | ||
g++ --version | ||
- name: Build libretro core | ||
working-directory: px68k-libretro | ||
run: | | ||
make -j8 C68K=1 | ||
wget https://raw.githubusercontent.com/libretro/libretro-super/master/retrolink.sh && chmod +x retrolink.sh && ./retrolink.sh px68k_libretro.so | ||
zip -9 ../px68k-libretro_c68k_linux-x86_64.zip px68k_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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: px68k-libretro (MUSASHI cpu core) Linux x86_64 | ||
|
||
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: | ||
Linux: | ||
name: Build for Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install needed packages | ||
run: sudo apt install wget git build-essential | ||
- name: Checkout source | ||
run: git clone https://github.com/negativeExponent/px68k-libretro.git && cd px68k-libretro && git submodule update --init | ||
- name: Check gcc version | ||
run: | | ||
gcc --version | ||
g++ --version | ||
- name: Build libretro core | ||
working-directory: px68k-libretro | ||
run: | | ||
make -j8 MUSASHI=1 | ||
wget https://raw.githubusercontent.com/libretro/libretro-super/master/retrolink.sh && chmod +x retrolink.sh && ./retrolink.sh px68k_libretro.so | ||
zip -9 ../px68k-libretro_musashi_linux-x86_64.zip px68k_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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: px68k-libretro (C68K CPU) Windows x86_64 | ||
|
||
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: | ||
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 && git submodule update --init | ||
- name: Check gcc version | ||
run: | | ||
/usr/bin/x86_64-w64-mingw32-gcc --version | ||
/usr/bin/x86_64-w64-mingw32-g++ --version | ||
- name: Build libretro core | ||
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_libretro.dll | ||
zip -9 ../px68k-libretro_c68k_windows-x86_64.zip px68k_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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: px68k-libretro (MUSASHI CPU) Windows x86_64 | ||
|
||
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: | ||
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 && git submodule update --init | ||
- name: Check gcc version | ||
run: | | ||
/usr/bin/x86_64-w64-mingw32-gcc --version | ||
/usr/bin/x86_64-w64-mingw32-g++ --version | ||
- name: Build libretro core | ||
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_libretro.dll | ||
zip -9 ../px68k-libretro_musashi_windows-x86_64.zip px68k_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 |
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