mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
action: macos homebrew check
This commit is contained in:
parent
9716acb2ee
commit
617c6b961f
2
.github/workflows/macos-6.x.yml
vendored
2
.github/workflows/macos-6.x.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/macos-PR-check.yml
vendored
2
.github/workflows/macos-PR-check.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
2
.github/workflows/macos-homebrew-xapian.yml
vendored
2
.github/workflows/macos-homebrew-xapian.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/macos-homebrew.yml
vendored
2
.github/workflows/macos-homebrew.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue