mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
This commit is contained in:
parent
e299017e79
commit
313220ae94
1 changed files with 28 additions and 0 deletions
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -275,3 +275,31 @@ jobs:
|
|||
with:
|
||||
name: release-notes.txt
|
||||
path: ./release-notes.txt
|
||||
|
||||
test-homebrew:
|
||||
name: Test Homebrew Formula (macOS)
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install stable Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Homebrew
|
||||
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
- name: Set up Homebrew in PATH
|
||||
run: |
|
||||
echo "$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" >> $GITHUB_PATH
|
||||
|
||||
- name: Update Homebrew
|
||||
run: brew update
|
||||
|
||||
- name: Let Homebrew build gitui from source
|
||||
run: brew install --head --build-from-source gitui
|
||||
|
||||
- name: Run Homebrew test
|
||||
run: brew test gitui
|
||||
|
|
|
|||
Loading…
Reference in a new issue