mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-30 15:20:40 +00:00
Upgrade MacOS and Xcode
This commit is contained in:
parent
84612a9dff
commit
07697bfa99
1 changed files with 11 additions and 2 deletions
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-13
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
@ -38,15 +38,24 @@ jobs:
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: maxim-lobanov/setup-xcode@v1
|
||||||
if: startsWith(runner.os, 'mac')
|
if: startsWith(runner.os, 'mac')
|
||||||
with:
|
with:
|
||||||
xcode-version: '15.2.0'
|
xcode-version: '16.0.0'
|
||||||
|
# This is gonna be hacky.
|
||||||
|
# Github made us upgrade xcode, which would force an upgrade of electron-builder to fix mac.
|
||||||
|
# But there were bugs with copyfiles / extraFiles that kept seeing duplicates erroring on ln.
|
||||||
|
# A flag USE_HARD_LINKS=false in electron-builder.json was suggested in comments, but that broke windows builds.
|
||||||
|
# So for now we'll install python2 on mac and make sure it can find it.
|
||||||
|
# Remove this after successfully upgrading electron-builder.
|
||||||
|
# HACK part 1
|
||||||
- uses: Homebrew/actions/setup-homebrew@master
|
- uses: Homebrew/actions/setup-homebrew@master
|
||||||
if: startsWith(runner.os, 'mac')
|
if: startsWith(runner.os, 'mac')
|
||||||
|
# HACK part 2
|
||||||
- name: Install Python2
|
- name: Install Python2
|
||||||
if: startsWith(runner.os, 'mac')
|
if: startsWith(runner.os, 'mac')
|
||||||
run: |
|
run: |
|
||||||
brew install pyenv
|
brew install pyenv
|
||||||
pyenv install 2.7
|
pyenv install 2.7
|
||||||
pyenv global 2.7
|
pyenv global 2.7
|
||||||
|
export PATH="$(pyenv root)/shims:${PATH}"
|
||||||
- name: Download blockchain headers
|
- name: Download blockchain headers
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./static/daemon
|
mkdir -p ./static/daemon
|
||||||
|
|
Loading…
Add table
Reference in a new issue