kopia lustrzana https://github.com/Hamlib/Hamlib
Add MacOS build (latest) to github workflow
rodzic
147fb072f4
commit
6cc21cdad3
|
@ -8,17 +8,26 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: bootstrap
|
- name: Install dependencies on Linux
|
||||||
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt install libusb-1.0-0-dev
|
sudo apt install libusb-1.0-0-dev
|
||||||
sudo apt install libgpiod-dev
|
sudo apt install libgpiod-dev
|
||||||
sudo apt install grep
|
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
|
- name: README Debug
|
||||||
run: grep README Makefile.am
|
run: grep README Makefile.am
|
||||||
- name: configure
|
- name: configure
|
||||||
|
@ -29,3 +38,4 @@ jobs:
|
||||||
run: make check
|
run: make check
|
||||||
- name: make distcheck
|
- name: make distcheck
|
||||||
run: make distcheck
|
run: make distcheck
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue