Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork323
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:Fedora | |
on: | |
schedule: | |
-cron:'40 3 * * 1' | |
# Mondays at 03:40 | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
fail-fast:false | |
matrix: | |
distro: | |
-version:41 | |
-version:42 | |
-version:43 | |
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@v5 | |
-name:Checkout Test Files | |
uses:actions/checkout@v5 | |
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 | |
./neomutt -h all | |
-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 | |