fix: unable to build binary module on some new systems #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux compability | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu:latest", "archlinux:latest"] | |
container: | |
image: ${{ matrix.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- 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 | |
;; | |
*) | |
;; | |
esac | |
- name: test completion | |
run: cd test && zsh -f runtests.zsh fzftab.ztst | |
- name: build binary module | |
run: zsh -fc 'source ./fzf-tab.zsh && build-fzf-tab-module' | |
- name: test binary module | |
run: cd test && zsh -f runtests.zsh fzftab.ztst | |