Skip to content

fix: unable to build binary module on some new systems #47

fix: unable to build binary module on some new systems

fix: unable to build binary module on some new systems #47

Workflow file for this run

name: test on linux
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-test: false

Check failure on line 15 in .github/workflows/linux.yaml

View workflow run for this annotation

GitHub Actions / test on linux

Invalid workflow file

The workflow is not valid. .github/workflows/linux.yaml (Line: 15, Col: 7): Unexpected value 'fail-test' .github/workflows/linux.yaml: (Line: 17, Col: 14, Idx: 213) - (Line: 17, Col: 20, Idx: 219): While scanning a plain scalar, find unexpected ':'.
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
;;
*)
;;
fi
- 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