Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vadimkantorov opened this issue Oct 31, 2023 · 0 comments

Comments

@vadimkantorov
Copy link

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/
@vadimkantorov vadimkantorov changed the title GitHub build workflow for simpler user experimentation Add GitHub build workflow (.github/workflows/build.yml) for simpler user experimentation Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant