Skip to content

cerbero: renaming cerbero dir to build, + changes in README #30

cerbero: renaming cerbero dir to build, + changes in README

cerbero: renaming cerbero dir to build, + changes in README #30

Workflow file for this run

name: GStreamer Build
on:
push:
branches:
- main
paths:
- 'cerbero/**'
- 'samples/**'
pull_request:
branches:
- '**'
paths:
- 'cerbero/**'
- 'samples/**'
jobs:
build:
runs-on: 'ubuntu-latest'
steps: # these steps are used in README.md to describe preparation; keep in-sync, please!
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Clone cerbero
run: |
git clone https://github.com/fluendo/cerbero cerbero-src -b gst.wasm --depth=1
- name: Bootstrap
run: |
./cerbero-src/cerbero-uninstalled -c build/gst.wasm.cbc bootstrap
- name: Build GStreamer
run: |
./cerbero-src/cerbero-uninstalled -c build/gst.wasm.cbc build-deps gst.wasm
- name: Build samples
run: |
./cerbero-src/cerbero-uninstalled -c build/gst.wasm.cbc build gst.wasm
- name: Create tarball
run: |
tar -cvJf gst.wasm.tar.xz -C build/gst.wasm_web_wasm32/ -c .
- name: Upload gst.wasm
uses: actions/upload-artifact@v4
with:
name: gst.wasm
path: gst.wasm.tar.xz