Skip to content

Commit

Permalink
.github: fix macos libsvm-official install
Browse files Browse the repository at this point in the history
  • Loading branch information
nilfm99 committed Feb 8, 2024
1 parent eeb72ef commit f04d714
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/libvmaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Install dependencies (mac)
if: matrix.os == 'macos-latest'
run: |
brew install -q ninja nasm ccache
brew install -q ninja nasm ccache llvm
$CC --version
meson --version
Expand All @@ -75,11 +75,19 @@ jobs:
- name: Run tests
run: |
sudo ninja -vC libvmaf/build test
- name: Run tox tests
- name: Set up tox
run: |
mkdir -p ~/.ccache && sudo chown -R $(whoami) ~/.ccache
pip install tox
tox -c python/ -e py -- -v -p no:warnings -m 'main or lib' --doctest-modules
- name: Run tox tests (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
tox -c python
- name: Run tox tests (mac)
if: matrix.os == 'macos-latest'
run: |
CC=$HOMEBREW_PREFIX/opt/llvm/bin/clang CXX=$HOMEBREW_PREFIX/opt/llvm/bin/clang++ \
tox -c python
- name: Get binary path & Current Release
id: get_info
Expand Down
2 changes: 1 addition & 1 deletion python/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, coverage
envlist = py312, coverage


[testenv]
Expand Down

0 comments on commit f04d714

Please sign in to comment.