Skip to content

Commit 5073884

Browse files
committed
webOS: produce 2 artifacts, one with GLES v2 and another with GLES v3
1 parent 431e6d2 commit 5073884

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/webOS.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,37 @@ jobs:
6161
tar xzf arm-webos-linux-gnueabi_sdk-buildroot-x86_64.tar.gz
6262
./arm-webos-linux-gnueabi_sdk-buildroot/relocate-sdk.sh
6363
64-
- name: Compile RA
64+
- name: Compile RA (default)
6565
shell: bash
6666
run: |
6767
. /tmp/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup
6868
make -f Makefile.webos ipk PACKAGE_NAME=${PACKAGE_NAME} ADD_SDL2_LIB=1 -j$(getconf _NPROCESSORS_ONLN)
6969
env:
7070
DEBUG: ${{ github.event_name == 'release' && '0' || '1' }}
7171

72+
- name: Compile RA (GLES3 variant)
73+
shell: bash
74+
run: |
75+
. /tmp/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup
76+
make -f Makefile.webos clean
77+
make -f Makefile.webos ipk PACKAGE_NAME=${PACKAGE_NAME}.gles3 ADD_SDL2_LIB=1 \
78+
HAVE_OPENGLES3=1 HAVE_OPENGLES3_1=1 HAVE_OPENGLES3_2=1 -j$(getconf _NPROCESSORS_ONLN)
79+
env:
80+
DEBUG: ${{ github.event_name == 'release' && '0' || '1' }}
81+
7282
- name: Get short SHA
7383
id: slug
7484
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
7585

7686
- uses: actions/upload-artifact@v4
7787
with:
7888
name: com.retroarch.webos_${{ steps.slug.outputs.sha8 }}_arm.ipk
79-
path: |
80-
webos/*.ipk
89+
path: webos/*.ipk
90+
91+
- uses: actions/upload-artifact@v4
92+
with:
93+
name: com.retroarch.webos.gles3_${{ steps.slug.outputs.sha8 }}_arm.ipk
94+
path: webos/*.ipk
8195

8296
- name: Generate Manifest
8397
shell: bash

0 commit comments

Comments
 (0)