Skip to content

Commit

Permalink
Run GitHub Actions workflow on Linux and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jansorg committed Jun 17, 2024
1 parent 30edf60 commit e0016c2
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,35 @@ 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
- name: Configure
shell: bash
run: sh ./autogen.sh
run: bash ./autogen.sh

- name: Test
shell: bash
Expand Down

0 comments on commit e0016c2

Please sign in to comment.