Skip to content

Commit b572d59

Browse files
committed
github actions: include iOS build
1 parent 29821a8 commit b572d59

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

.github/workflows/MacOS.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI macOS
1+
name: CI macOS (Legacy)
22

33
on:
44
push:
@@ -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 -workspace pkg/apple/RetroArch.xcworkspace -scheme RetroArch -config Release -xcconfig pkg/apple/GitHubCI.xcconfig -derivedDataPath build
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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 -workspace pkg/apple/RetroArch.xcworkspace -destination generic/platform=iOS -config Release \
24+
-scheme "RetroArch iOS Release" -xcconfig pkg/apple/GitHubCI.xcconfig \
25+
CODE_SIGNING_ALLOWED=NO \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGN_IDENTITY="" \ PROVISIONING_PROFILE_SPECIFIER="" \
26+
-derivedDataPath build

0 commit comments

Comments
 (0)