make annotation button stand out #121
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: CI | |
on: | |
push: | |
branches-ignore: | |
- '*travis*' | |
- '*appveyor*' | |
- '*doozer*' | |
jobs: | |
test_on_host: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: 'ubuntu-20.04' | |
- os: 'ubuntu-22.04' | |
- os: 'ubuntu-24.04' | |
steps: | |
- name: apt hacks | |
# /etc/apt/sources.list should be sufficient; all the other repositories are possibly problematic | |
run: | | |
sudo rm -f /etc/apt/sources.list.d/*.list | |
sudo apt-get update -qq | |
if: "startsWith(matrix.os, 'ubuntu-')" | |
- uses: taiki-e/checkout-action@v1 | |
- uses: eserte/Doit/.github/actions/install-doit-from-github@master | |
- name: Build and test | |
run: | | |
set -e | |
sudo apt-get install -q --no-install-recommends \ | |
libdb-dev \ | |
apt-file \ | |
cvs \ | |
rcs \ | |
libyaml-libyaml-perl libmodule-build-perl libipc-run-perl libfile-copy-recursive-perl libclass-std-perl | |
sudo apt-file update | |
git clone https://github.com/eserte/travis-helper-cpan-pm.git | |
./travis-helper-cpan-pm/travis-helper-cpan-pm --distroprefs=https://github.com/eserte/srezic-cpan-distroprefs --enable-sysdeps | |
which cpan | |
# has to be patched | |
cpan Slay::Makefile | |
slaymake -d install-prereqs-with-cpan | |
echo completed slaymake run | |
slaymake -d test-t | |
slaymake -d test-compile | |
if: "!startsWith(matrix.os,'windows-')" |