Skip to content

Commit e5d155f

Browse files
committed
branch cleanup
1 parent e747bf5 commit e5d155f

54 files changed

Lines changed: 2309 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows - tmp/3DS.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI 3DS
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
container:
19+
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-devkitpro:latest
20+
options: --user root
21+
22+
steps:
23+
- uses: taiki-e/checkout-action@v1
24+
25+
- name: Compile Salamander
26+
run: |
27+
make -f Makefile.ctr.salamander -j$(getconf _NPROCESSORS_ONLN) USE_CTRULIB_2=1 clean
28+
make -f Makefile.ctr.salamander -j$(getconf _NPROCESSORS_ONLN) USE_CTRULIB_2=1
29+
30+
- name: Compile RA
31+
run: |
32+
make -f Makefile.ctr -j$(getconf _NPROCESSORS_ONLN) USE_CTRULIB_2=1 clean
33+
make -f Makefile.ctr -j$(getconf _NPROCESSORS_ONLN) USE_CTRULIB_2=1 HAVE_STATIC_DUMMY=1 info all
34+
- name: Get short SHA
35+
id: slug
36+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI Android
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
repository_dispatch:
8+
types: [run_build]
9+
10+
permissions:
11+
contents: read
12+
13+
env:
14+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-22.04
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
23+
- name: Compile RA
24+
run: |
25+
cd pkg/android/phoenix
26+
./gradlew assembleDebug
27+
find . -iname "*.apk" -exec ls -l "{}" \;
28+
29+
- name: Get short SHA
30+
id: slug
31+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
32+
33+
- uses: actions/upload-artifact@v4
34+
with:
35+
name: retroarch-android-${{ steps.slug.outputs.sha8 }}
36+
path: |
37+
pkg/android/phoenix/build/outputs/apk/normal/debug/phoenix-normal-debug.apk
38+
pkg/android/phoenix/build/outputs/apk/aarch64/debug/phoenix-aarch64-debug.apk
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI DOS/DJGPP
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
container:
19+
image: git.libretro.com:5050/libretro-infrastructure/libretro-djgpp-build-container:latest
20+
options: --user root
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Compile RA
26+
run: |
27+
make -f Makefile.dos -j$(getconf _NPROCESSORS_ONLN) clean
28+
make -f Makefile.dos -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1 info all
29+
30+
- name: Get short SHA
31+
id: slug
32+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
33+
34+
- uses: actions/upload-artifact@v4
35+
with:
36+
name: RA-DOS-dummy-${{ steps.slug.outputs.sha8 }}
37+
path: |
38+
retrodos.exe
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Emscripten
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
container:
19+
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-emscripten:latest
20+
options: --user root
21+
22+
steps:
23+
- uses: taiki-e/checkout-action@v1
24+
25+
- name: Compile RA
26+
run: |
27+
emmake make -f Makefile.emscripten -j$(getconf _NPROCESSORS_ONLN) clean
28+
emmake make -f Makefile.emscripten -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1
29+
30+
- name: Get short SHA
31+
id: slug
32+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
33+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI GameCube
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
container:
19+
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-devkitpro:latest
20+
options: --user root
21+
22+
steps:
23+
- uses: taiki-e/checkout-action@v1
24+
25+
- name: Compile RA
26+
run: |
27+
make -f Makefile.ngc -j$(getconf _NPROCESSORS_ONLN) clean
28+
make -f Makefile.ngc -j$(getconf _NPROCESSORS_ONLN) EXTERNAL_LIBOGC=1 GX_PTHREAD_LEGACY=0 HAVE_STATIC_DUMMY=1 info all
29+
- name: Get short SHA
30+
id: slug
31+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
32+

.github/workflows - tmp/Linux.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Linux (i686)
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
container:
19+
image: git.libretro.com:5050/libretro-infrastructure/libretro-build-i386-ubuntu:xenial-gcc9
20+
options: --user root
21+
22+
steps:
23+
- name: Check Out Repo
24+
uses: taiki-e/checkout-action@v1
25+
26+
- name: Configure Build
27+
run: |
28+
./configure --disable-qt --enable-xdelta
29+
30+
- name: Compile RA
31+
run: |
32+
make -j$(getconf _NPROCESSORS_ONLN) clean
33+
make -j$(getconf _NPROCESSORS_ONLN) info all
34+
35+
- name: Get short SHA
36+
id: slug
37+
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"

.github/workflows - tmp/MSVC.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI Windows (MSVC)
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
14+
15+
# These jobs run smoke tests to ensure that MSVC-specific builds work properly.
16+
jobs:
17+
18+
msvc:
19+
runs-on: windows-2022
20+
strategy:
21+
matrix:
22+
version: [UWP, 2019, 2022]
23+
configuration: [Debug, Release]
24+
platform: [x64]
25+
exclude:
26+
- version: UWP
27+
configuration: Debug
28+
include:
29+
- version: UWP
30+
configuration: ReleaseAngle
31+
platform: x64
32+
# Qt and Cg builds are excluded for now
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Add msbuild to PATH
37+
uses: microsoft/setup-msbuild@v1
38+
39+
- name: Compile RA
40+
working-directory: "${{github.workspace}}/pkg/msvc${{ matrix.version == 'UWP' && '-uwp' || ''}}"
41+
run: |
42+
msbuild -p:"Configuration=${{matrix.configuration}}" -p:"Platform=${{matrix.platform}}" .\RetroArch-msvc${{matrix.version}}.sln
43+
44+
- name: Get short SHA
45+
id: slug
46+
shell: powershell
47+
run: echo "sha8=$('${{github.sha}}'.Substring(0,8))" >> $env:GITHUB_OUTPUT
48+
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
49+
50+
- uses: actions/upload-artifact@v4
51+
with:
52+
name: retroarch-${{matrix.version}}-${{matrix.configuration}}-${{matrix.platform}}-${{ steps.slug.outputs.sha8 }}
53+
path: |
54+
${{ matrix.version != 'UWP' }}:
55+
pkg/msvc/${{matrix.platform}}/${{matrix.configuration}}/RetroArch-msvc${{matrix.version}}.exe
56+
${{ matrix.version == 'UWP' }}:
57+
pkg/msvc-uwp/AppPackages/RetroArch-msvcUWP
58+

.github/workflows - tmp/MSYS2.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: CI Windows (MSYS2)
2+
3+
on:
4+
push:
5+
pull_request:
6+
repository_dispatch:
7+
types: [run_build]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
msys2-build-test:
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
sys: [MINGW64, UCRT64,CLANG64]
18+
runs-on: windows-latest
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Set up MSYS2
24+
uses: msys2/setup-msys2@v2
25+
with:
26+
msystem: ${{ matrix.sys }}
27+
update: true
28+
install: base-devel git
29+
pacboy: >-
30+
gettext:p
31+
gobject-introspection:p
32+
graphite2:p
33+
p11-kit:p
34+
qt6:p
35+
qt6-3d:p
36+
qt6-charts:p
37+
qt6-datavis3d:p
38+
qt6-imageformats:p
39+
qt6-location:p
40+
qt6-lottie:p
41+
qt6-networkauth:p
42+
qt6-quick3dphysics:p
43+
qt6-quicktimeline:p
44+
qt6-remoteobjects:p
45+
qt6-scxml:p
46+
qt6-sensors:p
47+
qt6-serialbus:p
48+
qt6-speech:p
49+
qt6-tools:p
50+
qt6-translations:p
51+
qt6-virtualkeyboard:p
52+
qt6-webchannel:p
53+
qt6-websockets:p
54+
x264:p
55+
cc:p
56+
57+
- name: Configure and build RetroArch
58+
shell: msys2 {0}
59+
run: |
60+
echo "Building RetroArch in ${{ matrix.sys }} environment"
61+
./configure
62+
make -j$(nproc) info all
63+
64+
- name: Collect DLLs and binaries
65+
shell: msys2 {0}
66+
run: |
67+
echo "Collecting DLLs and binaries"
68+
mkdir -p dist
69+
cp retroarch.exe dist/
70+
ldd retroarch.exe|grep $MINGW_PREFIX |awk '{print $3}'|xargs -I {} cp {} dist/
71+
72+
- name: Archive build artifacts
73+
if: success()
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: retroarch-${{ matrix.sys }}
77+
path: dist/

.github/workflows - tmp/MacOS.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI macOS
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
env:
11+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
12+
13+
jobs:
14+
build:
15+
runs-on: macos-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Compile RA
21+
run: |
22+
set -o pipefail
23+
xcodebuild -workspace pkg/apple/RetroArch.xcworkspace -scheme RetroArch -config Release -xcconfig pkg/apple/GitHubCI.xcconfig -derivedDataPath build | xcpretty --color
24+
25+
- name: Get short SHA
26+
id: slug
27+
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
28+
29+
- uses: actions/upload-artifact@v4
30+
with:
31+
name: RetroArch-${{ steps.slug.outputs.sha8 }}
32+
path: |
33+
build/Build/Products/Release

0 commit comments

Comments
 (0)