the check for being in emacs to be more like bash (#28) #51
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: test-on-gnu-linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
make-test: | |
runs-on: ${{ matrix.os }} | |
env: | |
TERM: xterm-256color | |
strategy: | |
#fail-fast: false | |
matrix: | |
# https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners | |
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] | |
# https://hub.docker.com/_/perl | |
# '5.8.9', '5.10', and '5.12' failed 2020/02/28 | |
# '5.14' failed 2024/12/02 | |
perl-version: ['latest', '5.30', '5.26'] | |
container: | |
image: perl:${{ matrix.perl-version }} | |
name: Build on ${{ matrix.os }} with Perl ${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install prerequisites | |
run: | | |
perl -V | |
apt install -y libreadline-dev | |
- name: Run make test | |
run: | | |
perl Makefile.PL | |
make | |
make test |