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 5a1e963
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test on linux
name: Linux compability

on:
push:
Expand All @@ -10,18 +10,28 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: 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: |
if [ "${{ matrix.os }}" = "ubuntu:latest" ]; then
apt-get update
apt-get install -y zsh git curl build-essential autoconf libncurses-dev
elif [ "${{ matrix.os }}" = "archlinux:latest" ]; then
pacman -Syu --noconfirm
pacman -S --noconfirm zsh base-devel git
fi
- name: test completion
run: cd test && zsh -f runtests.zsh fzftab.ztst
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test on macOS
name: macOS compability

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zsh.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test on different zsh versions
name: Zsh compability

on:
push:
Expand Down

0 comments on commit 5a1e963

Please sign in to comment.