2022-11-21 02:44:38 +00:00
|
|
|
name: Build check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-01-02 12:09:54 +00:00
|
|
|
branches: [ "master", "ci-test" ]
|
2022-11-21 02:44:38 +00:00
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
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: setup
|
2022-11-28 02:58:56 +00:00
|
|
|
run: sudo apt install -y meson libdrm-dev libxkbcommon-dev libwlroots-dev libjansson-dev libpam0g-dev libgnutls28-dev libavfilter-dev libavcodec-dev libavutil-dev libturbojpeg0-dev scdoc
|
2022-11-21 02:44:38 +00:00
|
|
|
- name: configure
|
2023-01-02 12:05:52 +00:00
|
|
|
run: meson build -D tests=true
|
2022-11-21 02:44:38 +00:00
|
|
|
- name: make
|
2023-01-02 12:05:52 +00:00
|
|
|
run: meson compile -C build
|
|
|
|
- name: unit tests
|
|
|
|
run: meson test -C build
|