cerbero: renaming cerbero dir to build, + changes in README #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |