diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-08 23:14:42 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-08 23:14:42 +1000 |
| commit | 1b6811663caf07717ce15f3d3bbb1195397a1a33 (patch) | |
| tree | 2babe8ab0769d97cd8a785b26c3dfc499a6924d8 /lib/ogg/.github | |
| parent | 6c3501dbcbd1095293d8a4d4b83311e94a7df9a8 (diff) | |
| download | tangara-fw-1b6811663caf07717ce15f3d3bbb1195397a1a33.tar.gz | |
Add libogg for handling opus streams reasonably
Diffstat (limited to 'lib/ogg/.github')
| -rw-r--r-- | lib/ogg/.github/workflows/autotools.yml | 40 | ||||
| -rw-r--r-- | lib/ogg/.github/workflows/cmake.yml | 38 |
2 files changed, 78 insertions, 0 deletions
diff --git a/lib/ogg/.github/workflows/autotools.yml b/lib/ogg/.github/workflows/autotools.yml new file mode 100644 index 00000000..d501cb48 --- /dev/null +++ b/lib/ogg/.github/workflows/autotools.yml @@ -0,0 +1,40 @@ +name: Autotools build + +on: + push: + pull_request: + schedule: + - cron: '0 0 1 * *' + +jobs: + build: + strategy: + matrix: + os: + [ + ubuntu-latest, + macos-latest, + ] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + + - name: Install macOS dependencies + if: startsWith(matrix.os,'macos') + run: brew install automake pkg-config + + - name: configure + run: | + ./autogen.sh + ./configure + + - name: build + run: make + + - name: test + run: make check + + - name: distcheck + run: make distcheck diff --git a/lib/ogg/.github/workflows/cmake.yml b/lib/ogg/.github/workflows/cmake.yml new file mode 100644 index 00000000..dfb78b23 --- /dev/null +++ b/lib/ogg/.github/workflows/cmake.yml @@ -0,0 +1,38 @@ +name: CMake build + +on: + push: + pull_request: + schedule: + - cron: '0 0 1 * *' + +jobs: + build: + strategy: + matrix: + os: + [ + ubuntu-latest, + macos-latest, + windows-latest, + ] + + runs-on: ${{ matrix.os }} + + env: + BUILD: _build + + steps: + - uses: actions/checkout@v2 + + - name: Prepare build directory + run: mkdir ${{ env.BUILD }} + + - name: Configure + run: cmake -S . -B ${{ env.BUILD }} + + - name: Build + run: cmake --build ${{ env.BUILD }} + + - name: Test + run: ctest --test-dir ${{ env.BUILD }} -V -C Debug |
