Skip to content

Run GitHub Actions workflow on Linux and macOS #70

Run GitHub Actions workflow on Linux and macOS

Run GitHub Actions workflow on Linux and macOS #70

Workflow file for this run

name: "bashdb CI"
on:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: "Run Tests on ${{ runner.os }}"

Check failure on line 12 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / bashdb CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 12, Col: 11): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies for Linux
if: runner.os == 'Linux'
shell: bash
run: |+
sudo apt -y update
sudo apt -y install autoconf automake texinfo
- name: Install dependencies for macOS
if: runner.os == 'macOS'
shell: bash
run: |+
brew update
brew install bash
brew install autoconf automake texinfo
- name: Configure
shell: bash
run: bash ./autogen.sh
- name: Test
shell: bash
env:
VERBOSE: 1
run: make -e -j3 check