Ci/tests #24
Workflow file for this run
This file contains hidden or 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 project | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
env: | |
RUST_LOG: debug | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update apt cache | |
run: sudo apt update | |
- name: Install system dependencies | |
run: | | |
sudo apt install -y --no-install-recommends \ | |
curl git build-essential meson \ | |
libgtk-4-dev gettext libdbus-1-dev libssl-dev libudev-dev \ | |
libxml2-utils desktop-file-utils | |
- name: Setup meson project | |
run: meson setup build | |
- name: Build | |
run: ninja -C build | |
- name: Test | |
# We have to use the --interactive flag because of some | |
# weird issue with meson hanging after cargo exits. | |
# probably has to do with forking the test processes. | |
run: meson test -C build --interactive |