tests Mac #1670
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
# Warning: this name must stay in sync with the badges referenced in the README | |
name: 'tests Mac' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 6" # Run every Saturday at midnight | |
jobs: | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
brew install python3 curl pkg-config sdl2 ffmpeg glslang molten-vk vulkan-headers freetype fribidi harfbuzz | |
- name: Build | |
run: | | |
./configure.py | |
make | |
- name: Python import and dylib runtime test | |
run: | | |
. venv/bin/ngli-activate | |
python -c 'import pynopegl, pynopegl_utils' | |
ngl-python -h |