-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ISSUE-79 migrate from travis to actions * ISSUE-79 remove travis * ISSUE-79 build and test on new pull request targeting master or develop * ISSUE-79 ola ppa gone missing * ISSUE-79 list files, looking for expected output * ISSUE-79 update path to expected output * ISSUE-79 remove commented ola repo * ISSUE-79 remove diagnostic ls --------- Co-authored-by: scottomatic <[email protected]>
- Loading branch information
Showing
3 changed files
with
65 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update and install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends libola-dev --allow-unauthenticated | ||
sudo apt-get install -y --no-install-recommends libncurses5-dev | ||
sudo apt-get install -y --no-install-recommends libasound2-dev | ||
sudo apt-get install -y --no-install-recommends libfftw3-dev | ||
sudo apt-get install -y --no-install-recommends systemd | ||
- name: Create build directory | ||
run: mkdir build | ||
|
||
- name: Configure with CMake | ||
run: cmake . | ||
|
||
- name: Build | ||
run: make | ||
|
||
- name: Install | ||
run: sudo make install | ||
|
||
- name: Build and run PCA9685test | ||
run: make PCA9685test && ctest -V | ||
|
||
- name: Build examples | ||
run: make examples | ||
|
||
- name: Install and verify examples/olaclient | ||
run: | | ||
cd examples/olaclient | ||
sudo make install | ||
cat /var/log/olaclient.log | ||
cd ../.. | ||
- name: Install and verify examples/audio | ||
run: | | ||
cd examples/audio | ||
sudo make install | ||
cat /var/log/vupeak.log | ||
cd ../.. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters