Skip to content

Update build.yml

Update build.yml #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
DEVELOPER_DIR: /Applications/Xcode.app
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build macOS
run: xcodebuild -scheme EasyMetalShader build -destination "generic/platform=macOS"
- name: Build iOS
run: xcodebuild -scheme EasyMetalShader build -destination "generic/platform=iOS"
build-examples:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build macOS Example
run: cd Examples/ExampleMacOS && xcodebuild -scheme ExampleMacOS build -destination "generic/platform=macOS"