-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #324 from Difegue/dev
Workflow fixes
- Loading branch information
Showing
3 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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: | | ||
brew update | ||
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 unlink node@12 | ||
brew install --force --verbose --build-from-source Lanraragi.rb | ||
brew test --verbose Lanraragi.rb | ||
brew audit --verbose Lanraragi.rb |
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
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