main: Fix double nvnc_close() #299
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: Build and Unit Test | |
on: | |
push: | |
branches: [ "master", "ci-test" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: checkout aml | |
uses: actions/checkout@v3 | |
with: | |
repository: any1/aml | |
path: subprojects/aml | |
- name: checkout neatvnc | |
uses: actions/checkout@v3 | |
with: | |
repository: any1/neatvnc | |
path: subprojects/neatvnc | |
- name: prepare environment | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y meson libdrm-dev libxkbcommon-dev libwlroots-dev libjansson-dev libpam0g-dev libgnutls28-dev libavfilter-dev libavcodec-dev libavutil-dev libturbojpeg0-dev scdoc | |
# runtime deps for integration testing: | |
sudo apt-get install -y sway jq lsof | |
pip install vncdotool | |
- name: configure | |
run: meson build -D tests=true | |
- name: compile | |
run: meson compile -C build | |
- name: unit tests | |
run: meson test --verbose -C build | |
- name: integration tests | |
run: ./test/integration/integration.sh |