ci: use language-specific runner containers
Core regression / Python core and release configuration (push) Failing after 21s
Core regression / JavaScript syntax (push) Successful in 3s

This commit is contained in:
阿白叔 committed 2026-11-02 15:24:22 +08:00
1 parent c96c369161
commit 2b2fdad56f
1 file changed
+21 -5
+21 -5
View File
@@ -11,6 +11,8 @@ jobs:
portable-regression: portable-regression:
name: Python core and release configuration name: Python core and release configuration
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: python:3.12-bookworm
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- name: Checkout tested commit - name: Checkout tested commit
@@ -36,12 +38,26 @@ jobs:
tests/packaging/test_dsh_runtime_staging.py tests/packaging/test_dsh_runtime_staging.py
tests/packaging/test_release_configuration.py tests/packaging/test_release_configuration.py
--junitxml=build/ci-results.xml --tb=short --junitxml=build/ci-results.xml --tb=short
- name: JavaScript syntax
run: |
node --check integration/dsh/start.mjs
node --check integration/dsh/task-plugin/host.mjs
node --check integration/dsh/task-plugin/client.js
- name: Windows release scope - name: Windows release scope
run: | run: |
echo 'Windows PyInstaller, Qt WebEngine startup, full runtime file hashes and extracted EXE smoke are validated on the Windows build host.' echo 'Windows PyInstaller, Qt WebEngine startup, full runtime file hashes and extracted EXE smoke are validated on the Windows build host.'
echo 'This Linux job does not claim Windows/CAD or live model acceptance.' echo 'This Linux job does not claim Windows/CAD or live model acceptance.'
javascript-regression:
name: JavaScript syntax
runs-on: ubuntu-latest
container:
image: node:20-bookworm
timeout-minutes: 10
steps:
- name: Checkout tested commit
run: |
git init .
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "${GITHUB_SHA}"
git checkout --detach FETCH_HEAD
- name: Check runtime syntax
run: |
node --check integration/dsh/start.mjs
node --check integration/dsh/task-plugin/host.mjs
node --check integration/dsh/task-plugin/client.js