describe setup subcommand of meson build system in README.rst #59
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 test | |
on: [push, pull_request] | |
jobs: | |
build_in_fedora_amd64_on_docker: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:rawhide | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v3 | |
- name: Prepare build environment. | |
run: | | |
dnf -y upgrade | |
dnf -y install @development-tools | |
dnf -y install meson gobject-introspection-devel systemd-devel | |
dnf -y install gi-docgen python3-gobject | |
- name: Initialization for build. | |
run: | | |
meson --prefix=/tmp -Ddoc=true -Dwarning_level=3 build | |
- name: Display configuration. | |
run: | | |
meson configure build | |
- name: Build library. | |
run: | | |
meson compile -C build | |
- name: Test interfaces exposed by g-i. | |
run: | | |
meson test -C build | |
- name: Test install. | |
run: | | |
meson install -C build | |
build_in_ubuntu_amd64_on_docker: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Checkout repository. | |
uses: actions/checkout@v3 | |
- name: Prepare build environment. | |
run: | | |
DEBIAN_FRONTEND=noninteractive apt-get update | |
DEBIAN_FRONTEND=noninteractive apt-get -y full-upgrade | |
DEBIAN_FRONTEND=noninteractive apt-get install -y git build-essential | |
DEBIAN_FRONTEND=noninteractive apt-get install -y meson ninja-build libglib2.0-dev gobject-introspection libgirepository1.0-dev | |
DEBIAN_FRONTEND=noninteractive apt-get install -y gi-docgen python3-gi | |
- name: Initialization for build. | |
run: | | |
meson --prefix=/tmp. -Ddoc=true -Dwarning_level=3 . build | |
- name: Display configuration. | |
run: | | |
meson configure build | |
- name: Build library. | |
run: | | |
meson compile -C build | |
- name: Test interfaces exposed by g-i. | |
run: | | |
meson test -C build | |
- name: Test install. | |
run: | | |
meson install -C build |