wip: merge video in skia app #142
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: Build | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: false | |
jobs: | |
build_ubuntu: | |
name: build_ubuntu | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@master | |
with: | |
root-reserve-mb: 8192 | |
swap-size-mb: 1024 | |
remove-dotnet: 'true' | |
remove-android: 'true' | |
remove-haskell: 'true' | |
remove-docker-images: 'true' | |
remove-codeql: 'true' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache-dependency-path: 'go.sum' | |
# Enable tmate debugging of manually-triggered workflows if the input option was provided | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v3 | |
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
- name: Install | |
run: ./scripts/install_nonportable.sh | |
- name: Install | |
run: ./scripts/install.sh | |
- name: Install git repos | |
run: ./scripts/install_3rd_party_git_repos.sh | |
- name: Generate fffi dispatching code | |
run: ./common/generate.sh | |
- name: Build Skia Backend | |
run: ./skia/build_ab_initio.sh | |
- name: Build ImGui Glfw Executable | |
run: ./imgui_glfw/build.sh | |
- name: Build Wasm | |
run: ./imgui_wasm/build.sh |