-
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.
- Loading branch information
1 parent
9067d06
commit 7f97aa8
Showing
1 changed file
with
28 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,28 @@ | ||
name: PX68K Libretro 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: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: build | ||
run: | | ||
make -j$(getconf _NPROCESSORS_ONLN) clean | ||
make -j$(getconf _NPROCESSORS_ONLN) | ||
zip -9 ../px68k_libretro.so.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.so.zip | ||
overwrite: true |