Skip to content

Added forgotten codespell settings #103

Added forgotten codespell settings

Added forgotten codespell settings #103

Workflow file for this run

name: Test
on:
push:
branches:
- $default-branch
- development
- master
# Run tests for any PRs
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
macos:
name: Running tests on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-12
- macos-13
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
brew install autoconf automake libtool pandoc
- name: Git clone repository
uses: actions/checkout@v3
with:
submodules: true
- name: Run the tests
run: |
uname -a &&
./regen.sh &&
./configure &&
make dist &&
make check
linux:
# The host should always be linux
runs-on: ubuntu-latest
name: Running tests on ${{ matrix.distro }}
strategy:
fail-fast: false
matrix:
distro:
- 'debian:10'
- 'debian:11'
- 'debian:12'
- 'debian:testing'
- 'ubuntu:16.04'
- 'ubuntu:18.04'
- 'ubuntu:20.04'
- 'ubuntu:22.04'
- 'alpine:3.13'
- 'alpine:edge'
- 'centos:7'
- 'fedora:40'
- 'fedora:39'
include:
- distro: 'debian:testing'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'debian:10'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'debian:11'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'debian:12'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'ubuntu:16.04'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'ubuntu:18.04'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'ubuntu:20.04'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'ubuntu:22.04'
pre: >-
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake gcc make bison pandoc flex pkg-config
- distro: 'alpine:edge'
pre: >-
apk update &&
apk upgrade &&
apk add -U bash &&
apk add autoconf automake gcc binutils build-base bison flex pkgconfig
- distro: 'alpine:3.13'
pre: >-
apk update &&
apk upgrade &&
apk add -U bash &&
apk add autoconf automake gcc binutils build-base bison flex pkgconfig
- distro: 'fedora:40'
pre: >-
dnf upgrade -y &&
dnf install -y hostname &&
dnf install -y autoconf automake gcc bison make flex pandoc
- distro: 'fedora:39'
pre: >-
dnf upgrade -y &&
dnf install -y hostname &&
dnf install -y autoconf automake gcc bison make flex pandoc
- distro: 'centos:7'
pre: >-
yum -y install epel-release &&
yum upgrade -y &&
yum install -y --enablerepo=epel autoconf automake gcc bison make flex pandoc
steps:
- name: Git clone repository
uses: actions/checkout@v3
with:
submodules: true
- name: Run the tests on ${{ matrix.distro }}
env:
PRE: ${{ matrix.pre }}
run: |
echo $PRE > ./prep-cmd.sh
docker run --network host -w /roll -v ${PWD}:/roll ${{ matrix.distro }} \
/bin/sh -c 'sh ./prep-cmd.sh \
&& uname -a \
&& ./regen.sh \
&& ./configure \
&& make dist \
&& make check'
rpm:
# The host should always be linux
runs-on: ubuntu-latest
name: Running RPM tests on ${{ matrix.distro }}
strategy:
fail-fast: false
matrix:
distro:
- 'centos:7'
- 'fedora:39'
- 'fedora:40'
include:
- distro: 'fedora:39'
pre: >-
dnf install -y autoconf automake rpm-build make gcc bison flex pandoc
- distro: 'fedora:40'
pre: >-
dnf install -y autoconf automake rpm-build make gcc bison flex pandoc
- distro: 'centos:7'
pre: >-
yum -y install epel-release &&
yum install -y --enablerepo=epel autoconf automake rpm-build make gcc bison flex pandoc
steps:
- name: Git clone repository
uses: actions/checkout@v3
with:
submodules: true
- name: Build the RPM on ${{ matrix.distro }}
env:
PRE: ${{ matrix.pre }}
run: |
echo $PRE > ./prep-cmd.sh
docker run --network host -w /roll -v ${PWD}:/roll ${{ matrix.distro }} \
/bin/sh -c 'sh ./prep-cmd.sh \
&& uname -a \
&& ./regen.sh \
&& ./configure \
&& make rpm'