Skip to content

Wip/libxml2 deprecation #735

Wip/libxml2 deprecation

Wip/libxml2 deprecation #735

Workflow file for this run

name: Aravis-macOS
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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 gnome-icon-theme gobject-introspection glib
- name: Build
run: |
meson --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@v3
if: failure()
with:
name: MacOS_Meson_Testlog
path: build/meson-logs/testlog.txt