Skip to content

midi: fix broken computer keyboard input on x11 #3097

midi: fix broken computer keyboard input on x11

midi: fix broken computer keyboard input on x11 #3097

Workflow file for this run

name: WASM
on:
pull_request:
push:
branches:
- master
tags:
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
wasm:
name: WebAssembly
# Build on the same image the wasm SDK is built on (ubuntu-24.04), so the
# prebuilt qt6-host tools find a matching system ICU. The old archlinux
# container shipped a too-new ICU (78) for the SDK's host tools (needs 74/76).
runs-on: [self-hosted, linux, x64, sat-builder]
container:
image: ubuntu:24.04
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -y -qq git ca-certificates
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: 'recursive'
persist-credentials: false
fetch-depth: 0
- name: Dependencies
run: |
./ci/wasm.deps.sh
- name: Build
run: |
./ci/wasm.build.sh
- name: Deploy
run: |
./ci/wasm.deploy.sh
- name: Push changes
uses: ad-m/github-push-action@master
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.API_TOKEN_GITHUB }}
branch: 'main'
force: true
directory: './site'
repository: 'ossia/score-web'
# Publish the wasm build as a downloadable release asset, mirroring the
# other platforms. This is what tools/create-app-wasm.sh downloads for
# `--platform wasm --release <tag>` (custom web apps).
- name: Package release bundle
run: |
export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//")
mkdir -p staging
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
NAME="ossia.score-${GITTAGNOV}-wasm.zip"
else
NAME="ossia.score-master-wasm.zip"
fi
# site/ was assembled by wasm.deploy.sh (js/wasm[/data] + loader files).
# The binary is gzipped there for the score-web push; ship it plain here.
( cd site && zip -r -q "../staging/$NAME" . -x '.git/*' -x 'ossia-score.wasm.gz' )
if [[ -f site/ossia-score.wasm.gz ]]; then
gunzip -c site/ossia-score.wasm.gz > ossia-score.wasm
zip -q -j "staging/$NAME" ossia-score.wasm
rm -f ossia-score.wasm
fi
ls -lah staging
- name: Upload build
uses: actions/upload-artifact@v7
with:
name: wasm-bundle
path: |
staging/*.zip
- name: Continuous
uses: softprops/action-gh-release@v3
if: github.ref == 'refs/heads/master'
with:
name: "Continuous"
tag_name: "continuous"
target_commitish: ${{ github.sha }}
body: "Continuous (development) build of ossia score, automatically rebuilt from the latest commit on master. For stable versions, see the tagged releases."
append_body: false
generate_release_notes: false
files: |
staging/*.zip
- name: Release
uses: softprops/action-gh-release@v3
if: startsWith(github.ref, 'refs/tags/')
with:
body: ""
append_body: true
generate_release_notes: false
files: |
staging/*.zip