kopia lustrzana https://github.com/Hamlib/Hamlib
Enable pytest in github actions, also for feature/* branches
rodzic
637ccebe02
commit
bf4daf1486
|
@ -2,7 +2,7 @@ name: C/C++ CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, feature/* ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ jobs:
|
||||||
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
|
||||||
|
sudo apt install python3-dev python3-pytest
|
||||||
- name: Install dependencies on macOS
|
- name: Install dependencies on macOS
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
@ -38,7 +39,11 @@ jobs:
|
||||||
- name: README Debug
|
- name: README Debug
|
||||||
run: grep README Makefile.am
|
run: grep README Makefile.am
|
||||||
- name: configure
|
- name: configure
|
||||||
run: ./configure
|
if: runner.os != 'macOS'
|
||||||
|
run: ./configure --with-python-binding
|
||||||
|
- name: configure on macOS
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: ./configure --without-python-binding
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j 4
|
run: make -j 4
|
||||||
- name: make check
|
- name: make check
|
||||||
|
|
Ładowanie…
Reference in New Issue