Skip to content

Fedora

Fedora #146

Workflow file for this run

name: Fedora
on:
schedule:
- cron: '40 3 * * 1'
# Mondays at 03:40
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
distro:
- version: 39
- version: 40
- version: 41
config:
- name: Default
options:
- name: Minimal
options: --disable-nls --disable-pgp --disable-smime --ssl --gsasl --with-lock=flock
- name: Everything
options: --autocrypt --bdb --full-doc --gdbm --gnutls --gpgme --gss --lmdb --lua --lz4 --notmuch --pcre2 --qdbm --sasl --tdb --tokyocabinet --with-lock=fcntl --zlib --zstd
name: Fedora ${{ matrix.distro.version }} - ${{ matrix.config.name }}
runs-on: ubuntu-latest
container: ghcr.io/neomutt/fedora:${{ matrix.distro.version }}
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: Checkout Code
uses: actions/checkout@v4
- name: Checkout Test Files
uses: actions/checkout@v4
with:
repository: neomutt/neomutt-test-files
path: test-files
- name: Set Up Test Files
run: |
cd test-files
./setup.sh
- name: Compilation Cache
uses: hendrikmuhs/ccache-action@v1
- name: Configure Neomutt
run: ./configure ${{ matrix.config.options }}
- name: Build Neomutt
run: make -j ${{steps.cpu-cores.outputs.count}} neomutt
- name: Neomutt Version
run: ./neomutt -v
- name: Build Tests
run: make -j ${{steps.cpu-cores.outputs.count}} test/neomutt-test
- name: Run Tests
run: |
export NEOMUTT_TEST_DIR=$GITHUB_WORKSPACE/test-files
make test