diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index b6309f2..185d83e 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -10,18 +10,32 @@ on: jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + fail-test: false matrix: - os: [ubuntu-latest] + os: [ubuntu:latest, archlinux:latest] + container: + image: ${{ matrix.os }} steps: - name: checkout uses: actions/checkout@v1 with: fetch-depth: 1 - - name: install zsh - run: sudo apt-get install -y zsh + - name: install dependencies + run: + case "${{ matrix.os }}" in + "ubuntu:latest") + sudo apt-get install -y zsh git curl build-essential autoconf libncurses-dev + ;; + "archlinux:latest" + sudo pacman -Syu --noconfirm + sudo pacman -S --noconfirm zsh base-devel git + ;; + *) + ;; + fi - name: test completion run: cd test && zsh -f runtests.zsh fzftab.ztst