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 386e35f
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +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: "Test ${{ matrix.os }}"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Packages
- name: Install dependencies for Linux
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |+
sudo apt -y update
sudo apt -y install bash
sudo apt -y install autoconf automake texinfo
- name: Install dependencies for macOS
if: matrix.os == 'macos-latest'
shell: bash
run: |+
brew update
brew install autoconf automake texinfo
which autoconf
which automake
echo $PATH
- name: Configure
shell: bash
run: sh ./autogen.sh
Expand Down

0 comments on commit 386e35f

Please sign in to comment.