Add MacOS build (latest) to github workflow

pull/1610/head
Mike Black W9MDB 2024-09-08 08:43:32 -05:00
rodzic 147fb072f4
commit 6cc21cdad3
1 zmienionych plików z 14 dodań i 4 usunięć

Wyświetl plik

@ -8,17 +8,26 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: bootstrap
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: |
sudo apt install libusb-1.0-0-dev
sudo apt install libgpiod-dev
sudo apt install grep
./bootstrap
- name: Install dependencies on macOS
if: runner.os == 'macOS'
run: |
brew install libusb
brew install grep
- name: bootstrap
run: ./bootstrap
- name: README Debug
run: grep README Makefile.am
- name: configure
@ -29,3 +38,4 @@ jobs:
run: make check
- name: make distcheck
run: make distcheck