mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
feat: add macOS build (#711)
This commit is contained in:
parent
33956e8417
commit
d4838647ef
8 changed files with 71 additions and 34 deletions
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-latest
|
||||
- os: windows-latest
|
||||
- os: ubuntu-20.04
|
||||
- os: ubuntu-22.04
|
||||
|
|
@ -85,6 +86,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-latest
|
||||
- os: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
@ -216,6 +218,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-latest
|
||||
- os: windows-latest
|
||||
needs: [ build, test ]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
|
@ -239,3 +242,21 @@ jobs:
|
|||
Buzz*-unix.tar.gz
|
||||
Buzz*-windows.exe
|
||||
Buzz*-mac.dmg
|
||||
|
||||
deploy_brew_cask:
|
||||
runs-on: macos-latest
|
||||
needs: [ release ]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Install Poetry Action
|
||||
uses: snok/install-poetry@v1.3.1
|
||||
with:
|
||||
virtualenvs-create: true
|
||||
virtualenvs-in-project: true
|
||||
- name: Upload to Brew
|
||||
run: make upload_brew
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue