add (nullable) annotation to three methods #877
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-Linux | |
on: | |
push: | |
branches: [ main, aravis-0-8 ] | |
pull_request: | |
branches: [ main, aravis-0-8 ] | |
release: | |
workflow_dispatch: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pip3 install meson ninja Markdown toml typogrify gi-docgen | |
sudo apt update | |
sudo apt install python3 libusb-1.0-0-dev gobject-introspection valgrind libgstreamer-plugins-bad1.0-dev libgtk-3-dev libgirepository1.0-dev python3-gi libunwind-dev gettext | |
- name: Build | |
run: | | |
meson setup --buildtype=plain -Ddocumentation=enabled -Dgst-plugin=enabled -Dintrospection=enabled -Dusb=disabled -Dviewer=enabled -Dgentl-producer=true . ./build | |
ninja -C ./build | |
meson configure -Dusb=enabled build | |
ninja -C ./build | |
env: | |
CC: gcc | |
- name: Tests | |
run: meson test -C build/ -v | |
- name: Valgrind | |
run: meson test -C build/ -v --setup=valgrind | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: Linux_Meson_Testlog | |
path: build/meson-logs/testlog*.txt | |
- name: Development Documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/docs/reference/aravis/aravis-0.10 | |
destination_dir: aravis-main | |
- name: Stable Documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/aravis-0-8' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/docs/reference/aravis/aravis-0.8 | |
destination_dir: aravis-stable |