action: macos homebrew check

This commit is contained in:
YiFang Xiao 2023-04-28 09:52:23 +08:00 committed by xiaoyifang
parent 9716acb2ee
commit 617c6b961f
6 changed files with 8 additions and 8 deletions

View file

@ -61,7 +61,7 @@ jobs:
run: | run: |
previousTag=$(git tag --sort=-creatordate | sed -n 1p |cut -c 2-) previousTag=$(git tag --sort=-creatordate | sed -n 1p |cut -c 2-)
echo "$previousTag">version.txt echo "$previousTag">version.txt
- name: build macos - name: install deps on macos
run: | run: |
brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true
brew install create-dmg brew install create-dmg

View file

@ -60,7 +60,7 @@ jobs:
with: with:
fetch-depth: 1 fetch-depth: 1
- name: build macos - name: install deps on macos
run: | run: |
brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true
brew install create-dmg brew install create-dmg

View file

@ -49,7 +49,7 @@ jobs:
run: | run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: build macos - name: install deps on macos
run: | run: |
brew install pcre2 harfbuzz freetype brew install pcre2 harfbuzz freetype
brew install cmake ninja python brew install cmake ninja python
@ -57,8 +57,8 @@ jobs:
brew install autoconf brew install autoconf
brew install libtool brew install libtool
brew install opencc brew install opencc
brew install ffmpeg@5 brew tap homebrew-ffmpeg/ffmpeg
#brew reinstall $(brew deps ffmpeg) ffmpeg brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-speex
brew install libao brew install libao
brew install libiconv brew install libiconv
brew install lzo bzip2 brew install lzo bzip2

View file

@ -57,7 +57,7 @@ jobs:
run: | run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: build macos - name: install deps on macos
run: | run: |
brew install pcre2 harfbuzz freetype brew install pcre2 harfbuzz freetype
brew install cmake ninja python brew install cmake ninja python

View file

@ -57,7 +57,7 @@ jobs:
run: | run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: build macos - name: install deps on macos
run: | run: |
brew install pcre2 harfbuzz freetype brew install pcre2 harfbuzz freetype
brew install cmake ninja python brew install cmake ninja python

View file

@ -65,7 +65,7 @@ jobs:
previousTag=$(git tag --sort=-creatordate | sed -n 1p |cut -c 2-) previousTag=$(git tag --sort=-creatordate | sed -n 1p |cut -c 2-)
echo "$previousTag">version.txt echo "$previousTag">version.txt
- name: build macos - name: install deps on macos
run: | run: |
brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true brew uninstall opencc hunspell ffmpeg@5 ffmpeg@4 xz lzo libogg libvorbis zstd || true
brew install create-dmg brew install create-dmg