-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'libretro:master' into master
- Loading branch information
Showing
91 changed files
with
35,282 additions
and
1,181 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,52 @@ | ||
name: CI webOS | ||
|
||
on: | ||
push: | ||
pull_request: | ||
repository_dispatch: | ||
types: [run_build] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check Out Repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download ares-cli-rs | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "webosbrew/ares-cli-rs" | ||
latest: true | ||
fileName: "ares-package_*.deb" | ||
out-file-path: "temp" | ||
|
||
- name: Update packages | ||
run: sudo apt-get -yq update | ||
|
||
- name: Install webOS CLI | ||
run: sudo apt-get -yq install ./temp/*.deb | ||
|
||
- name: Download webOS NDK | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "openlgtv/buildroot-nc4" | ||
latest: true | ||
fileName: "arm-webos-linux-gnueabi_sdk-buildroot.tar.gz" | ||
out-file-path: "/tmp" | ||
|
||
- name: Extract webOS NDK | ||
shell: bash | ||
working-directory: /tmp | ||
run: | | ||
tar xzf arm-webos-linux-gnueabi_sdk-buildroot.tar.gz | ||
./arm-webos-linux-gnueabi_sdk-buildroot/relocate-sdk.sh | ||
- name: Compile RA | ||
run: | | ||
. /tmp/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup | ||
make -f Makefile.webos ADD_SDL2_LIB=1 -j$(getconf _NPROCESSORS_ONLN) |
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
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
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
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
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 @@ | ||
#ifndef UWPGDI_H_ | ||
#define UWPGDI_H_ | ||
|
||
|
||
#include <windows.h> | ||
|
||
#include <GL/gl.h> | ||
|
||
#if !defined(_GDI32_) | ||
#define WINGDIAPI_UWP __declspec(dllimport) | ||
#else | ||
#define WINGDIAPI_UWP __declspec(dllexport) | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* | ||
* Undeclared APIs exported by libgallium on UWP | ||
*/ | ||
|
||
WINGDIAPI_UWP HGLRC WINAPI wglCreateContext(HDC); | ||
WINGDIAPI_UWP BOOL WINAPI wglDeleteContext(HGLRC); | ||
WINGDIAPI_UWP BOOL WINAPI wglMakeCurrent(HDC, HGLRC); | ||
WINGDIAPI_UWP BOOL APIENTRY wglSwapBuffers(HDC hdc); | ||
WINGDIAPI_UWP PROC APIENTRY wglGetProcAddress(LPCSTR lpszProc); | ||
WINGDIAPI_UWP BOOL APIENTRY wglShareLists( | ||
HGLRC unnamedParam1, | ||
HGLRC unnamedParam2 | ||
); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif UWPGDI_H_ |
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
Oops, something went wrong.