Skip to content

Commit

Permalink
Run GitHub Actions workflow on Linux and macOS (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jansorg authored Jun 17, 2024
1 parent 8314f4f commit a0e8d73
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,37 @@ on:
push:

jobs:
linux:
name: "Linux"
runs-on: ubuntu-latest
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]

runs-on: ${{ matrix.os }}
name: "Run Tests on ${{ matrix.os }}"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Packages
- 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
# Not installing pygments, because apparently 'osascript' executed during bashdb's init is blocking
# if there's not user logged in.
- name: Configure
shell: bash
run: sh ./autogen.sh
run: bash ./autogen.sh

- name: Test
shell: bash
Expand Down

0 comments on commit a0e8d73

Please sign in to comment.