Repository navigation
NEWS.org: small corrections #1734
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 & run tests | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| build: | |
| name: build (${{ matrix.name }}) | |
| runs-on: ${{ matrix.os }} | |
| container: ${{ matrix.container }} | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: ubuntu-24.04 | |
| os: ubuntu-24.04 | |
| - name: macos-latest | |
| os: macos-latest | |
| - name: fedora-latest | |
| os: ubuntu-latest | |
| container: fedora:latest | |
| - name: debian-stable | |
| os: ubuntu-latest | |
| container: debian:stable | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - if: matrix.container == '' && contains(matrix.os, 'ubuntu') | |
| name: ubuntu-deps | |
| run: | | |
| sudo apt update | |
| sudo apt-get install meson ninja-build pkg-config libxapian-dev libglib2.0-dev libgmime-3.0-dev libcli11-dev libfmt-dev libexpected-dev guile-3.0-dev libcld2-dev emacs texinfo | |
| - if: startsWith(matrix.container, 'fedora') | |
| name: fedora-deps | |
| run: | | |
| dnf install -y git make gcc-c++ meson ninja-build pkgconf-pkg-config xapian-core-devel glib2-devel gmime30-devel cli11-devel fmt-devel expected-devel guile30-devel cld2-devel emacs texinfo | |
| - if: startsWith(matrix.container, 'debian') | |
| name: debian-deps | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: | | |
| apt-get update | |
| apt-get install -y git make g++ meson ninja-build pkg-config libxapian-dev libglib2.0-dev libgmime-3.0-dev libcli11-dev libfmt-dev libexpected-dev guile-3.0-dev libcld2-dev emacs-nox texinfo | |
| - if: contains(matrix.os, 'macos') | |
| name: macos-deps | |
| run: | | |
| brew install meson ninja libgpg-error pkg-config glib gmime xapian guile emacs texinfo | |
| - name: build | |
| run: make | |
| - name: test | |
| run: make test-verbose-if-fail |