Skip to content

Commit 77c695f

Browse files
authored
Update main.yml
1 parent 6214748 commit 77c695f

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-v2:
10-
runs-on: macos-13
10+
runs-on: macos-latest
1111
steps:
1212
- name: Check out repository od
1313
uses: actions/checkout@v2
@@ -22,8 +22,14 @@ jobs:
2222
- name: Install tools
2323
run: |
2424
brew update
25-
brew install libzip openssl libplist autoconf automake libtool autoconf-archive pkg-config ninja libusbmuxd ideviceinstaller ios-deploy
25+
brew install libzip openssl libplist autoconf automake libtool autoconf-archive pkg-config ninja
26+
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig
27+
git clone https://github.com/libimobiledevice/libplist
28+
cd libplist && ./autogen.sh --without-cython && sudo make install && cd ..
29+
cd libusbmuxd && ./autogen.sh && sudo make install && cd ..
2630
xcrun --sdk macosx --show-sdk-path
31+
brew install ideviceinstaller
32+
brew install ios-deploy
2733
pip3 install wheel
2834
pip3 install .
2935
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
@@ -70,7 +76,7 @@ jobs:
7076
./*.so
7177
7278
build-v3:
73-
runs-on: macos-13
79+
runs-on: macos-latest
7480
steps:
7581
- name: Check out repository od
7682
uses: actions/checkout@v2
@@ -85,8 +91,14 @@ jobs:
8591
- name: Install tools
8692
run: |
8793
brew update
88-
brew install libzip openssl libplist autoconf automake libtool autoconf-archive pkg-config ninja libusbmuxd ideviceinstaller ios-deploy
94+
brew install libzip openssl libplist autoconf automake libtool autoconf-archive pkg-config ninja
95+
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl@1.1/lib/pkgconfig
96+
git clone https://github.com/libimobiledevice/libplist
97+
cd libplist && ./autogen.sh --without-cython && sudo make install && cd ..
98+
cd libusbmuxd && ./autogen.sh && sudo make install && cd ..
8999
xcrun --sdk macosx --show-sdk-path
100+
brew install ideviceinstaller
101+
brew install ios-deploy
90102
pip3 install wheel
91103
pip3 install .
92104
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

0 commit comments

Comments
 (0)