Skip to content

Commit 063b87e

Browse files
committed
github actions: include current macOS / iOS builders
1 parent 29821a8 commit 063b87e

File tree

3 files changed

+69
-3
lines changed

3 files changed

+69
-3
lines changed

.github/workflows/MacOS-legacy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI macOS (Legacy)
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@v6
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@v6
30+
with:
31+
name: RetroArch-${{ steps.slug.outputs.sha8 }}
32+
path: |
33+
build/Build/Products/Release

.github/workflows/MacOS.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: macos-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v6
1919

2020
- name: Compile RA
2121
run: |
2222
set -o pipefail
23-
xcodebuild -workspace pkg/apple/RetroArch.xcworkspace -scheme RetroArch -config Release -xcconfig pkg/apple/GitHubCI.xcconfig -derivedDataPath build | xcpretty --color
23+
xcodebuild -project pkg/apple/RetroArch_Metal.xcodeproj -scheme RetroArch -config Release -archivePath pkg/apple/build/RetroArchUniversal -xcconfig pkg/apple/GitHubCI.xcconfig -derivedDataPath build | xcpretty --color
2424
2525
- name: Get short SHA
2626
id: slug
2727
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
2828

29-
- uses: actions/upload-artifact@v4
29+
- uses: actions/upload-artifact@v6
3030
with:
3131
name: RetroArch-${{ steps.slug.outputs.sha8 }}
3232
path: |

.github/workflows/iOS.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI iOS (13)
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@v6
19+
20+
- name: Compile RA
21+
run: |
22+
set -o pipefail
23+
xcodebuild -project pkg/apple/RetroArch_iOS13.xcodeproj -destination generic/platform=iOS -config Release -scheme "RetroArch iOS Release" -xcconfig pkg/apple/iOS/GitLabCI.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@v6
30+
with:
31+
name: RetroArch-${{ steps.slug.outputs.sha8 }}
32+
path: |
33+
build/Build/Products/Release

0 commit comments

Comments
 (0)