Skip to content

Commit

Permalink
github: add macos otool description
Browse files Browse the repository at this point in the history
for future use preparation
  • Loading branch information
xiaoyifang committed Mar 26, 2022
1 parent 82b2fd0 commit 63a4d64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos-6.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ jobs:
tar xvjf eb-4.4.3.tar.bz2
cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd ..
#brew install qt # or use official offline installer
brew install opencc libao hunspell ffmpeg libtiff xz lzo libogg libvorbis zstd
brew install opencc libao hunspell ffmpeg@5 libtiff xz lzo libogg libvorbis zstd
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support
make
# 打包
- name: package
run: |
# 拷贝依赖
macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
- name: Set outputs
id: vars
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,21 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0


- name: build macos
run: |
wget ftp://ftp.sra.co.jp/pub/misc/eb/eb-4.4.3.tar.bz2
tar xvjf eb-4.4.3.tar.bz2
cd eb-4.4.3 && ./configure && make -j 8 && sudo make install && cd ..
#brew install qt # or use official offline installer
brew install opencc libao hunspell ffmpeg libtiff xz lzo libogg libvorbis zstd
brew install opencc libao hunspell ffmpeg@5 libtiff xz lzo libogg libvorbis zstd
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support
make
# 打包
- name: package
run: |
# 拷贝依赖
macdeployqt ${targetName}.app -qmldir=. -verbose=1 -dmg
otool -L GoldenDict.app/Contents/MacOS/GoldenDict
- name: Set outputs
id: vars
run: |
Expand Down

0 comments on commit 63a4d64

Please sign in to comment.