Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Use brew bundle to manage Homebrew dependencies (#90)
Browse files Browse the repository at this point in the history
* Use `brew bundle` to manage Homebrew dependencies

* Point brew bundle directly at Brewfile
  • Loading branch information
colindean authored May 13, 2020
1 parent 0a76a53 commit a8d4c78
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:

- name: Install OBS deps
run: |
brew install FFmpeg x264 Qt5 cmake mbedtls swig
brew bundle --file=obs-mac-virtualcam/Brewfile
- name: Build OBS
run: |
mkdir obs-studio/build
cd obs-studio/build
export QTDIR=/usr/local/opt/qt
export QTDIR=$(brew --prefix qt5)
cmake ..
make -j
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:

- name: Install OBS deps
run: |
brew install FFmpeg x264 Qt5 cmake mbedtls swig
brew bundle --file=obs-mac-virtualcam/Brewfile
- name: Build OBS
run: |
mkdir obs-studio/build
cd obs-studio/build
export QTDIR=/usr/local/opt/qt
export QTDIR=$(brew --prefix qt5)
cmake ..
make -j
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install Apple certificates
uses: apple-actions/import-codesign-certs@v1
with:
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ xcode/
.DS_Store
*.generated.*
/installer/Output/
Brewfile.lock.json
6 changes: 6 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
brew 'ffmpeg'
brew 'x264'
brew 'qt5'
brew 'cmake'
brew 'mbedtls'
brew 'swig'

0 comments on commit a8d4c78

Please sign in to comment.