Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
save: ${{ github.event_name == 'push' }}

- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
Expand All @@ -92,6 +93,7 @@ jobs:
# the runner image has none; without one it skips. Checked here, so a
# locale that fails to generate is a failed step and not a quiet skip.
- name: A comma-decimal locale
timeout-minutes: 10
run: |
sudo apt-get install -y --no-install-recommends locales
sudo locale-gen de_DE.UTF-8
Expand Down Expand Up @@ -183,6 +185,7 @@ jobs:
save: ${{ github.event_name == 'push' }}

- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -303,6 +306,7 @@ jobs:
save: ${{ github.event_name == 'push' }}

- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
Expand All @@ -314,6 +318,7 @@ jobs:

# See the linux job.
- name: A comma-decimal locale
timeout-minutes: 10
run: |
sudo apt-get install -y --no-install-recommends locales
sudo locale-gen de_DE.UTF-8
Expand Down Expand Up @@ -395,6 +400,7 @@ jobs:
# No pulseaudio here: the live-context tests are in the jam job, and
# this one opens nothing.
- name: Install dependencies
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -581,6 +587,7 @@ jobs:
node-version: 24

- uses: ./.github/actions/wasm-trees
timeout-minutes: 10
with:
native: 'true'

Expand Down Expand Up @@ -612,7 +619,7 @@ jobs:
needs: wasm-build

# See wasm-browsers: minutes, not hours.
timeout-minutes: 30
timeout-minutes: 45

steps:
- uses: actions/checkout@v4
Expand All @@ -622,6 +629,7 @@ jobs:
node-version: 24

- uses: ./.github/actions/wasm-trees
timeout-minutes: 10
with:
native: 'true'

Expand Down Expand Up @@ -786,8 +794,11 @@ jobs:
# Everything here is minutes, so an hour means something is wedged rather
# than slow. Without this a hang runs to GitHub's six-hour default, which
# is what a live AudioContext with no audio backend did once: the job said
# nothing, cost everything, and looked exactly like a slow one.
timeout-minutes: 30
# nothing, cost everything, and looked exactly like a slow one. Each step
# that installs from a package mirror has ten minutes of its own, so a
# stalled mirror fails there and says so; the job's limit leaves room for
# a slow one on top of the tests' quarter hour.
timeout-minutes: 45

steps:
- uses: actions/checkout@v4
Expand All @@ -804,6 +815,7 @@ jobs:
# The chromium leg only: browsertest.mjs is offline, and mictest.mjs
# runs there.
- name: Install dependencies
timeout-minutes: 10
if: matrix.browser == 'chromium'
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pulseaudio

Expand All @@ -820,13 +832,15 @@ jobs:
node-version: 24

- uses: ./.github/actions/wasm-trees
timeout-minutes: 10

- name: npm ci
working-directory: wasm/web
run: npm ci

# Both engines on the chromium leg, for the page's gates below it.
- name: Playwright's browsers
timeout-minutes: 10
working-directory: wasm/web
run: >-
npx playwright install --with-deps
Expand Down Expand Up @@ -917,12 +931,13 @@ jobs:
needs: wasm-build

# See wasm-browsers: minutes, not hours.
timeout-minutes: 30
timeout-minutes: 45

steps:
- uses: actions/checkout@v4

- name: Install dependencies
timeout-minutes: 10
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pulseaudio

# A sound card, of sorts, for jamtest below. It opens a live
Expand All @@ -945,6 +960,7 @@ jobs:
node-version: 24

- uses: ./.github/actions/wasm-trees
timeout-minutes: 10
with:
native: 'true'

Expand Down Expand Up @@ -999,11 +1015,14 @@ jobs:
# page types a number into a node, and the file in both documents is
# the one native NodeEdit writes -- which is why the build job builds
# dspedit.
- name: Playwright's browsers
timeout-minutes: 10
working-directory: wasm/web
run: npx playwright install --with-deps chromium firefox

- name: Two browsers, one room
working-directory: wasm/web
run: |
npx playwright install --with-deps chromium firefox
node jamtest.mjs ../../build-web ../../build-wasm ../../build
run: node jamtest.mjs ../../build-web ../../build-wasm ../../build

# The demo: master's browser build, at https://mishan.github.io/thinksynth/.
# It deploys what wasm-build packaged rather than building again, and only
Expand Down
Loading