diff --git a/.github/workflows/ios-pre-release.yml b/.github/workflows/ios-pre-release.yml index e57db2de6..224c4c402 100644 --- a/.github/workflows/ios-pre-release.yml +++ b/.github/workflows/ios-pre-release.yml @@ -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: