Skip to content

Commit

Permalink
ci: test on archlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf committed Sep 25, 2024
1 parent 536d84e commit eb4e40b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb4e40b

Please sign in to comment.