Skip to content

Commit

Permalink
Create ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blueloveTH committed Mar 25, 2024
1 parent cd1b81d commit 33ccfd9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
unzip libEGL.xcframework.zip -d libEGL.xcframework
unzip libGLESv2.xcframework.zip -d libGLESv2.xcframework
rm libEGL.xcframework.zip
rm libGLESv2.xcframework.zip
ls
xcodebuild -project raylib.xcodeproj -scheme raylib -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12,OS=15.0' build

0 comments on commit 33ccfd9

Please sign in to comment.