forked from raysan5/raylib
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 1.13 KB
/
ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: iOS
on:
workflow_dispatch:
push:
paths:
- 'src/**'
- 'examples/**'
- '.github/workflows/android.yml'
pull_request:
paths:
- 'src/**'
- 'examples/**'
- '.github/workflows/android.yml'
release:
types: [published]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build Xcode15 project
run: |
cd projects/Xcode15
curl -L https://github.com/raysan5/raylib/files/14743869/libEGL.xcframework.zip --output libEGL.xcframework.zip
curl -L https://github.com/raysan5/raylib/files/14743873/libGLESv2.xcframework.zip --output libGLESv2.xcframework.zip
mkdir -p raylib/Frameworks
unzip -q libEGL.xcframework.zip -d raylib/Frameworks/libEGL.xcframework
unzip -q libGLESv2.xcframework.zip -d raylib/Frameworks/libGLESv2.xcframework
rm libEGL.xcframework.zip
rm libGLESv2.xcframework.zip
xcodebuild -project raylib.xcodeproj -scheme raylib -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14' build