Skip to content

Merge pull request #13 from yukiny0811/feature/arraySupport #62

Merge pull request #13 from yukiny0811/feature/arraySupport

Merge pull request #13 from yukiny0811/feature/arraySupport #62

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Build macOS
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShader build -destination "generic/platform=macOS,arch=arm64,variant=macOS" | xcpretty
- name: Build iOS
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShader build -destination "generic/platform=iOS" | xcpretty
test:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Test macOS
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShaderTests test -destination "platform=macOS,arch=arm64" | xcpretty
- name: Test iOS
run: set -o pipefail && xcodebuild -skipMacroValidation -scheme EasyMetalShaderTests test -destination "platform=iOS" | xcpretty