Skip to content

Commit

Permalink
Adding custom path roc github action
Browse files Browse the repository at this point in the history
  • Loading branch information
khansamad47 committed Dec 31, 2023
1 parent f353504 commit e19223c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 10 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- cron: '0 0 * * 1'

jobs:
ubuntu:
ubuntu-systemwide-roc:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -40,6 +40,31 @@ jobs:
cmake -DDOWNLOAD_ROC=OFF .. && make -j
test -e ../bin/rt-tests
ubuntu-roc-custom-path:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get -y install g++ pkg-config scons ragel gengetopt \
libuv1-dev libunwind-dev libpulse-dev libsox-dev libcpputest-dev libspeexdsp-dev \
libtool intltool autoconf automake make cmake
- name: Build Roc
run: |
git clone https://github.com/roc-streaming/roc-toolkit.git /tmp/roc
scons -C /tmp/roc -Q --build-3rdparty=openfec --prefix=/tmp/roc/output
sudo scons -C /tmp/roc -Q --build-3rdparty=openfec --prefix=/tmp/roc/output install
- name: Build tests
run: |
mkdir build && cd build
cmake -DDOWNLOAD_ROC=OFF .. && make -j
test -e ../bin/rt-tests
ubuntu-download-roc:
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,11 @@ First install build tools:

```
sudo apt install -y \
gcc g++ \
make \
libtool intltool m4 autoconf automake \
meson libsndfile-dev \
cmake \
scons \
git \
wget \
python3
g++ pkg-config scons ragel gengetopt \
libuv1-dev libunwind-dev \
libpulse-dev libsox-dev \
libcpputest-dev libspeexdsp-dev \
libtool intltool autoconf automake make cmake
```

Next build and run:
Expand Down

0 comments on commit e19223c

Please sign in to comment.