Update ios-pre-release.yml

Update to match pre-release (metal) branch
This commit is contained in:
Petr Pokorny
2021-05-06 16:10:34 +02:00
committed by GitHub
parent 82a3917fb4
commit 14dabbe539

View File

@@ -3,8 +3,6 @@ name: ios-pre-release
on:
workflow_dispatch:
push:
tags:
- ios-v*
branches:
- metal-support
paths-ignore:
@@ -13,7 +11,8 @@ on:
- "platform/android/**"
jobs:
build:
runs-on: macos-10.15
#runs-on: macos-10.15
runs-on: [self-hosted, petr]
env:
BUILDTYPE: Release
HOMEBREW_NO_AUTO_UPDATE: 1
@@ -31,10 +30,13 @@ jobs:
- name: Install macos dependencies
run: |
brew list cmake || brew install cmake
brew list ccache || brew install ccache
brew list pkg-config || brew install pkg-config
brew list glfw3 || brew install glfw3
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew list cmake 1> /dev/null || brew install cmake
brew list ccache 1> /dev/null || brew install ccache
brew list pkg-config 1> /dev/null || brew install pkg-config
brew list glfw3 1> /dev/null || brew install glfw3
brew list node 1> /dev/null || brew install node
gem list -i xcpretty || sudo gem install xcpretty
- name: Cache node modules
uses: actions/cache@v2
@@ -78,6 +80,10 @@ jobs:
env:
CILAUNCH: true
# - name: Set XCode version
# run: |
# sudo xcode-select --switch /Applications/Xcode12.4.app
- name: Build, package, and upload iOS release
run: platform/ios/scripts/deploy-swift-package.sh
env: