Skip to content

Commit 2438c1e

Browse files
committed
Run GitHub Actions workflow on Linux and macOS
1 parent 30edf60 commit 2438c1e

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,34 @@ on:
33
push:
44

55
jobs:
6-
linux:
7-
name: "Linux"
8-
runs-on: ubuntu-latest
6+
tests:
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest, macos-latest]
10+
11+
runs-on: ${{ matrix.os }}
12+
name: "Test ${{ matrix.os }}"
913
steps:
1014
- name: Checkout
1115
uses: actions/checkout@v4
1216

13-
- name: Setup Packages
17+
- name: Install dependencies for Linux
18+
if: matrix.os == 'ubuntu-latest'
1419
shell: bash
1520
run: |+
1621
sudo apt -y update
1722
sudo apt -y install autoconf automake texinfo
1823
24+
- name: Install dependencies for macOS
25+
if: matrix.os == 'macos-latest'
26+
shell: bash
27+
run: |+
28+
brew update
29+
brew install autoconf automake texinfo
30+
which autoconf
31+
which automake
32+
echo $PATH
33+
1934
- name: Configure
2035
shell: bash
2136
run: sh ./autogen.sh

0 commit comments

Comments
 (0)