[ImgBot] Optimize images (#863) #707
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: "Test Homebrew" | |
jobs: | |
testBrew: | |
name: Test Homebrew version | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build and test bundled homebrew formula | |
run: | | |
cd tools/build/homebrew | |
echo "Replacing commit hash in formula with current hash $(git rev-parse --verify HEAD)" | |
sed -i.bck "s/COMMIT_HASH/$(git rev-parse --verify HEAD)/" Lanraragi.rb | |
brew install --force --verbose --build-from-source Lanraragi.rb | |
brew test --verbose Lanraragi.rb |