summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 300d8c08ebb18b18464858a8a205b4a15496c98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    container: archlinux/archlinux:latest
    steps:
      - name: Install dependencies
        run: pacman -Syu --noconfirm m4 make openssh subversion rsync arch-install-scripts git bzr mercurial diffutils asciidoc shellcheck
      - uses: actions/checkout@v2
      - name: Run tests
        run: |
           make PREFIX=/usr
           make PREFIX=/usr DESTDIR="$(mktemp -d)" install
           make check || true
           SHELLCHECK_OPTS="-S error" make check