Add build action
This commit is contained in:
parent
2f51f33423
commit
04cdf79778
1 changed files with 26 additions and 0 deletions
26
.github/workflows/build.yml
vendored
Normal file
26
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: build project
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Run CMake+Ninja
|
||||
uses: lukka/run-cmake@v3
|
||||
with:
|
||||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||
buildDirectory: '${{runner.workspace}}/b/ninja'
|
||||
cmakeAppendedArgs: '-GNinja -DENABLE_RTLSDR=OFF -DENABLE_SOAPYSDR=OFF'
|
||||
- name: Run CMake+UnixMakefiles
|
||||
uses: lukka/run-cmake@v3
|
||||
with:
|
||||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||
buildDirectory: '${{runner.workspace}}/b/unixmakefiles'
|
||||
cmakeAppendedArgs: '-G "Unix Makefiles" -DENABLE_RTLSDR=OFF -DENABLE_SOAPYSDR=OFF'
|
||||
- name: Autotools autoreconf
|
||||
run: autoreconf --install
|
||||
- name: Autotools configure
|
||||
run: ./configure
|
||||
- name: Autotools make
|
||||
run: make
|
Loading…
Add table
Add a link
Reference in a new issue