Skip to content

Add GitHub build workflow (.github/workflows/build.yml) for simpler user experimentation #83

Open
@vadimkantorov

Description

@vadimkantorov

Could be sth like:

name: buildopusenc
on: workflow_dispatch
jobs:

  buildopusenc:
    runs-on: ubuntu-22.04
    steps:
      - name: Install Prerequisites
        run:  sudo apt-get update && sudo apt-get install -y git autoconf gcc libtool make libogg-dev libopus-dev libopusfile-dev libflac-dev libpcap-dev xz-utils zip

      - name: Clone
        run: |
          git clone https://github.com/xiph/libopusenc
          git clone https://github.com/xiph/opus-tools

      - name: Build
        run: |
          cd libopusenc
          bash ./autogen.sh
          bash ./configure --prefix="$(pwd)/../build"
          make check
          make install
          export PKG_CONFIG_PATH="$(pwd)/../build/lib/pkgconfig"
          cd ../opus-tools
          bash ./autogen.sh
          bash ./configure --prefix="$(pwd)/../build"
          make check
          make install

      - name: Archive artifacts
        uses: actions/upload-artifact@v2
        with:
          name: build
          path: build/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions