Fix unaligned memory access in tests/genicam.c #860
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
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 gnome-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@v3 | |
if: failure() | |
with: | |
name: MacOS_Meson_Testlog | |
path: build/meson-logs/testlog.txt |