From 6535ac9b99d1977d123743247f7c35bf910a24b6 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 4 Sep 2021 22:19:59 +0800 Subject: Fix CI and switch to GitHub CI (#68) --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test.yml (limited to '.github/workflows/test.yml') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..300d8c0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2