Repository navigation
camera: only write trigger features if different in arv_camera_set_trigger and arv_camera_clear_triggers #1166
Workflow file for this run
This file contains hidden or 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
| name: Aravis-macOS | |
| on: | |
| push: | |
| branches: [ main, aravis-0-8 ] | |
| pull_request: | |
| branches: [ main, aravis-0-8 ] | |
| release: | |
| workflow_dispatch: | |
| jobs: | |
| macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Unbreak Python in Github Actions | |
| run: | | |
| find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
| sudo rm -rf /Library/Frameworks/Python.framework/ | |
| brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3 | |
| - name: Install dependencies | |
| run: | | |
| brew update | |
| brew install meson ninja gcc gettext intltool libxml2 libusb gstreamer adwaita-icon-theme gobject-introspection glib | |
| - name: Build | |
| run: | | |
| meson setup --buildtype=plain -Ddocumentation=disabled -Dgst-plugin=enabled -Dintrospection=disabled -Dusb=enabled -Dviewer=enabled -Dgentl-producer=true . ./build | |
| ninja -C ./build | |
| env: | |
| CC: gcc | |
| - name: Tests | |
| run: meson test -C build/ -v | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: MacOS_Meson_Testlog | |
| path: build/meson-logs/testlog.txt |