Skip to content
Merged
Show file tree
Hide file tree
Changes from 94 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
ba2f1e9
infra: introduce new self-hosted runners to diffusion and sdk
tamer-hassan-tether May 6, 2026
d24d4ea
infra: try new runners in cpp-tests-llm
tamer-hassan-tether May 6, 2026
625cdaf
infra: try new runners in LLM desktop and mobile integration tests
tamer-hassan-tether May 8, 2026
215443a
fix: install mesa-vulkan-drivers on github-hosted ubuntu arm
tamer-hassan-tether May 8, 2026
e1f2540
infra: use non-gpu ubuntu2404 and windows-2025 in diffusion cpp tests
tamer-hassan-tether May 9, 2026
ef28c36
infra: use ubuntu2404 gpu runner in diffusion integration tests
tamer-hassan-tether May 9, 2026
4ac2141
infra: sort out self-hosted runners for LLM cpp tests and integration…
tamer-hassan-tether May 9, 2026
08c2a3c
use ubuntu2204 gpu runner besides the ubuntu2404 gpu runner in diffus…
tamer-hassan-tether May 9, 2026
a4f7935
fix: correct ubuntu 22.04 usage in diffusion mobile integration test
tamer-hassan-tether May 9, 2026
daff20a
infra: add qvac-ubuntu2404-x64-gpu to list of runners to test in sdk
tamer-hassan-tether May 9, 2026
24e6218
infra: use self-hosted runners in embed cpp tests and integration tests
tamer-hassan-tether May 9, 2026
b1805d6
infra: use self-hosted runners in ocr and tss integration tests
tamer-hassan-tether May 9, 2026
60985fe
fix: correct typo in step name in embed integration test
tamer-hassan-tether May 9, 2026
5ad88a4
fix: correct typo in input description in sdk desktop test
tamer-hassan-tether May 9, 2026
b775193
infra: use qvac-ubuntu2204-x64 for android builds in sdk android test
tamer-hassan-tether May 9, 2026
1334dd2
infra: use self-hosted runners in nmtcpp tests
tamer-hassan-tether May 9, 2026
ed77c27
infra: use self-hosted runners in parakeet and whisper integration tests
tamer-hassan-tether May 9, 2026
86cdb53
infra: use self-hosted runners in decoder audio integration test
tamer-hassan-tether May 9, 2026
21c510b
infra: use self-hosted runners in pr-test addon
tamer-hassan-tether May 9, 2026
61f5f38
infra: use self-hosted runners in reusable-prebuilds.yml
tamer-hassan-tether May 9, 2026
50bec1e
fix: set vulkan sdk path on windows & linux x64 in reusable-prebuilds…
tamer-hassan-tether May 10, 2026
387f96b
infra: use self-hosted runners in cpp lint & cpp tests in nmtcpp
tamer-hassan-tether May 10, 2026
e78330f
fix: revert hard-coding temp branch as ref for the cpp lint and tests…
tamer-hassan-tether May 10, 2026
25df908
test: pin temp-self-hosted-runners branch for uses: workflows
tamer-hassan-tether May 11, 2026
4de18fe
fix: runs-on matrix.runner not matrix.os in reusable-prebuilds
tamer-hassan-tether May 11, 2026
8b87b20
fix: cpp-lint rework setup bare tooling
tamer-hassan-tether May 11, 2026
0f6a1c4
fix: nmt int mobile test don't install node on linux
tamer-hassan-tether May 11, 2026
e3d6fc1
infra: bare tooling and expo ensured pre-installed on ubuntu runners
tamer-hassan-tether May 11, 2026
c7c2da3
fix: only install expo/cli for iOS platform in nmt mobile int test
tamer-hassan-tether May 11, 2026
0a842df
fix: bare tooling linux-x64 set path, and non-linux-x64 install other…
tamer-hassan-tether May 11, 2026
30c8508
fix: clean matrix of os/runners in reusable-prebuilds
tamer-hassan-tether May 11, 2026
8ba887a
fix: android arm64 in reusable-prebuilds fixes
tamer-hassan-tether May 11, 2026
d502c8e
fix: matrix.include.os for ubuntu-24.04-arm
tamer-hassan-tether May 11, 2026
70094fa
fix: set vcpkg install root var for windows runners
tamer-hassan-tether May 11, 2026
ee3d2b6
fix: reusable prebuilds fixes for android arm64 on ubuntu-24.04
tamer-hassan-tether May 11, 2026
aa38b0e
fix: setup bare tooling (windows) in reusable-prebuilds
tamer-hassan-tether May 11, 2026
9a10997
infra: bare tooling is ensured to be installed on windows-2025 in reu…
tamer-hassan-tether May 11, 2026
dcc3be0
infra: fix stripping staatic libraries (.a) from prebuilds (Windows)
tamer-hassan-tether May 11, 2026
6cc6273
fix: yaml indentation issue in reusable-prebuilds
tamer-hassan-tether May 11, 2026
8cb2325
infra: npm and bare tooling ensured on x64 ubuntu and windows in nmt …
tamer-hassan-tether May 11, 2026
9081454
fix: runs-on matrix.runner before os in nmt int tests
tamer-hassan-tether May 11, 2026
46c8628
fix: use ${{ runner.temp }} instead of /tmp in nmt int test
tamer-hassan-tether May 11, 2026
a44913c
fix: create ${{ runner.temp }}/tmp dir before using it
tamer-hassan-tether May 11, 2026
6a7c410
fix: use tmp in local dir in nmt int test
tamer-hassan-tether May 11, 2026
4dc4622
infra: runs-on: ${{ matrix.runner || matrix.os }} in nmt mobile int test
tamer-hassan-tether May 11, 2026
1a19461
infra: use self-hosted runners for all transcription-whispercpp workf…
tamer-hassan-tether May 11, 2026
81412e8
infra: use tmp-self-hosted-runners branch for whisper mobile int test
tamer-hassan-tether May 11, 2026
bf99be6
infra: add bare tooling to GH PATH in cpp-test-coverage-transcription…
tamer-hassan-tether May 11, 2026
877230a
infra: Add bare tooling to PATH (Linux x64) in integration-test-trans…
tamer-hassan-tether May 11, 2026
c4c9d99
infra: use tmp-self-hosted-runners branch for embed
tamer-hassan-tether May 11, 2026
c006aff
fix: correct ubuntu version check in cpp-tests-embed
tamer-hassan-tether May 11, 2026
de29790
fix: correct vcpkg cache to work on windows in cpp-tests-embed
tamer-hassan-tether May 11, 2026
b029c52
test: fix linux cpp-tests-embed
tamer-hassan-tether May 11, 2026
0c647b6
fix: override .lsan-suppressions.txt path relative to workdir in cpp-…
tamer-hassan-tether May 11, 2026
e1da640
infra: review on-pr-diffusion-cpp to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
fe9165c
fix: add missing arch: x64 in 2 places
tamer-hassan-tether May 12, 2026
03f32ba
infra: review on-pr-llm-llamacpp to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
a282d34
fix: cpp-tests-llm .lsan-suppressions.txt should be in workdir for li…
tamer-hassan-tether May 12, 2026
63609aa
infra: review on-pr-tts-onnx to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
e817f49
infra: review on-pr-ocr-onnx to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
4977079
infra: review on-pr-onnx to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
9e294a2
infra: ensured python 3.12 on windows for tts-onnx, possibly others
tamer-hassan-tether May 12, 2026
92235d8
fix: no sudo in cpp-test-coverage-tts-onnx
tamer-hassan-tether May 12, 2026
3020415
infra: ensure self-hosted runner usage in integration tests and ensur…
tamer-hassan-tether May 12, 2026
45453ba
infra: ensure consistency in reviewed mobile integration tests
tamer-hassan-tether May 12, 2026
e38fc9e
fix: don't use /tmp in integration-mobile-test-ocr-onnx
tamer-hassan-tether May 12, 2026
7708c5e
infra: ensure self-hosted runners are used in integration-test-tts-onnx
tamer-hassan-tether May 12, 2026
05bfbc8
fix: don't write in global /tmp on linux in integration-mobile-test-o…
tamer-hassan-tether May 12, 2026
40fde9c
fix: missed replacing ai-run-linux-gpu w/ qvac-ubuntu2404-x64-gpu in …
tamer-hassan-tether May 12, 2026
b4ede2c
fix: increase timeout-minutes to 30 in integration-test-ocr-onnx run …
tamer-hassan-tether May 12, 2026
6b1ea09
fix: timeout-minutes at the job level instead of step level in integr…
tamer-hassan-tether May 12, 2026
93b85de
infra: switch to non-gpu runners in integration-test-ocr-onnx
tamer-hassan-tether May 12, 2026
f4d1f5a
infra: review on-pr-tts-ggml to ensure using self-hosted runners
tamer-hassan-tether May 12, 2026
5a5a98f
infra: increase timeout-minutes from 60 to 120 in integration-test-tt…
tamer-hassan-tether May 12, 2026
3a8cdd1
infra: review on-pr-transcription-parakeet to ensure self-hosted runners
tamer-hassan-tether May 13, 2026
6a569e5
infra: missed self-hosted runner in cpp-test-coverage-transcription-p…
tamer-hassan-tether May 13, 2026
712568b
infra: review on-pr-decoder-audio to ensure self-hosted runners
tamer-hassan-tether May 13, 2026
d87855a
fix: typo in integration-test-decoder-audio
tamer-hassan-tether May 13, 2026
0b04a6e
infra: review on-pr-bci-whispercpp to ensure self-hosted runners
tamer-hassan-tether May 13, 2026
8416eb6
Merge branch 'main' into tmp-self-hosted-runners
tamer-hassan-tether May 13, 2026
cdb4e45
fix: revert name ocr and tts in on-pr-ocr-onnx and on-pr-tts-onnx
tamer-hassan-tether May 13, 2026
69c5d0a
fix: replace inputs.platform and inputs.arch with matrix.platform and…
tamer-hassan-tether May 13, 2026
f611fe6
fix: clone stable vcpkg branch 2025.12.12 in cpp-tests- diffusion, em…
tamer-hassan-tether May 13, 2026
c675eb2
fix: replace matrix.platform == 'x64' with matrix.arch == 'x64'
tamer-hassan-tether May 13, 2026
e7283f7
fix: suffix gpu matrix job names
tamer-hassan-tether May 13, 2026
571e7e5
fix: replace matrix.os with matrix.runner in integration-test-transcr…
tamer-hassan-tether May 13, 2026
84e316f
chore: remove commented-out workflow blocks
tamer-hassan-tether May 13, 2026
710bcc0
fix: align setup-node gating in workflows
tamer-hassan-tether May 13, 2026
f3daed0
fix: use runner temp for unix prebuild extraction
tamer-hassan-tether May 13, 2026
fe0f562
Merge branch 'main' into tmp-self-hosted-runners
tamer-hassan-tether May 13, 2026
8ea60c1
infra: add workflow_dispatch to on-pr-test-sdk and pin test-sdk workf…
tamer-hassan-tether May 13, 2026
1f8c452
fix: only one per platform in tesk-sdk
tamer-hassan-tether May 13, 2026
6fa9908
Merge branch 'main' into tmp-self-hosted-runners
tamer-hassan-tether May 13, 2026
6442b3d
Merge branch 'main' into tmp-self-hosted-runners
tamer-hassan-tether May 14, 2026
a847fb6
fix: fix logic in integration tests, and fix in cpp-tests-diffusion
tamer-hassan-tether May 14, 2026
7e88fda
infra: revert adding workflow_dispatch to on-pr-test-sdk and pinning …
tamer-hassan-tether May 14, 2026
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
48 changes: 29 additions & 19 deletions .github/workflows/cpp-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

jobs:
cpp-lint:
runs-on: ubuntu-22.04
runs-on: qvac-ubuntu2204-x64
environment: release
permissions:
contents: read
Expand Down Expand Up @@ -62,14 +62,14 @@ jobs:
echo " HEAD_REPO=$HEAD_REPO"
echo " HEAD_REF=$HEAD_REF"

- name: Setup build host
uses: tetherto/qvac/.github/actions/setup-build-host@df55c85d7b8004961e430557e85b6ec1b15cf170
with:
platform: linux
arch: x64
# - name: Setup build host
# uses: tetherto/qvac/.github/actions/setup-build-host@df55c85d7b8004961e430557e85b6ec1b15cf170
# with:
# platform: linux
# arch: x64

- name: Setup LLVM
uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c
# - name: Setup LLVM
# uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c

- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
Expand All @@ -93,19 +93,29 @@ jobs:
platform: linux
arch: x64

- name: Setup Bare tooling
uses: tetherto/qvac/.github/actions/setup-bare-tooling@0bbdca93da303a0b1634ba14a89cec085621078d
# - name: Setup Bare tooling
# uses: tetherto/qvac/.github/actions/setup-bare-tooling@0bbdca93da303a0b1634ba14a89cec085621078d

- name: Add bare tooling to PATH
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH


# - if: ${{ inputs.include-vulkan-sdk }}
# name: Setup Vulkan SDK
# uses: tetherto/qvac/.github/actions/setup-vulkan-sdk@0bbdca93da303a0b1634ba14a89cec085621078d
# env:
# MODEL_S3_BUCKET: ${{ secrets.MODEL_S3_BUCKET }}
# with:
# platform: linux
# arch: x64
# aws-role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
# aws-region: eu-central-1

- if: ${{ inputs.include-vulkan-sdk }}
name: Setup Vulkan SDK
uses: tetherto/qvac/.github/actions/setup-vulkan-sdk@0bbdca93da303a0b1634ba14a89cec085621078d
env:
MODEL_S3_BUCKET: ${{ secrets.MODEL_S3_BUCKET }}
with:
platform: linux
arch: x64
aws-role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: eu-central-1
name: Set Vulkan SDK path in Linux x64
shell: bash
run: |
echo "VULKAN_SDK=/opt/vulkansdk/x86_64" >> "$GITHUB_ENV"

- name: Install npm dependencies
shell: bash
Expand Down
30 changes: 7 additions & 23 deletions .github/workflows/cpp-test-coverage-bci-whispercpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contents: read
id-token: write
checks: write
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner || matrix.os }}
environment: release
name: ${{ matrix.platform }}-${{ matrix.arch }}-cpp-tests
strategy:
Expand All @@ -42,6 +42,7 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
runner: qvac-ubuntu2204-x64
coverage: true
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg/cache,readwrite"
Expand All @@ -55,33 +56,16 @@ jobs:
token: ${{ secrets.PAT_TOKEN }}
lfs: true

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: lts/*

- name: Install system dependencies (Linux)
if: matrix.platform == 'linux'
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 19 all

- name: Verify llvm-profdata and llvm-cov installation
if: matrix.platform == 'linux'
run: |
ls -l /usr/bin/llvm-profdata* || echo "llvm-profdata not found"
ls -l /usr/bin/llvm-cov* || echo "llvm-cov not found"
which llvm-profdata || echo "llvm-profdata not in PATH"
which llvm-profdata-19 || echo "llvm-profdata-19 not in PATH"
dpkg -l | grep llvm || echo "No LLVM packages found"

- name: Install NPM dependencies
working-directory: ${{ env.WORKDIR }}
run: |
npm install
npm install -g bare bare-make
# npm install -g bare bare-make

- name: Add bare tooling to PATH (Linux x64)
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH

- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Configure vcpkg in linux
run: echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
Expand Down
35 changes: 8 additions & 27 deletions .github/workflows/cpp-test-coverage-transcription-parakeet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
contents: read
id-token: write
checks: write
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner || matrix.os }}
environment: release
name: ${{ matrix.platform }}-${{ matrix.arch }}-cpp-tests
strategy:
Expand All @@ -31,6 +31,7 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
runner: qvac-ubuntu2204-x64
coverage: true
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg/cache,readwrite"
Expand All @@ -44,19 +45,10 @@ jobs:
token: ${{ secrets.PAT_TOKEN }}
lfs: true

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: lts/*

- name: Setup LLVM
if: matrix.platform == 'linux'
uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c

- name: Setup ccache
if: matrix.platform == 'linux'
run: |
sudo apt-get install -y ccache
# sudo apt-get install -y ccache
ccache -z
echo "CMAKE_C_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
echo "CMAKE_CXX_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
Expand All @@ -73,32 +65,21 @@ jobs:
working-directory: ${{ env.PKG_DIR }}
run: |
npm install
npm install -g bare bare-make
# npm install -g bare bare-make

- name: Add bare tooling to PATH (Linux x64)
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH

- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Configure vcpkg in linux
run: echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV

- name: Setup Vulkan SDK
uses: tetherto/qvac/.github/actions/setup-vulkan-sdk@0bbdca93da303a0b1634ba14a89cec085621078d
env:
MODEL_S3_BUCKET: ${{ secrets.MODEL_S3_BUCKET }}
with:
platform: ${{ matrix.platform }}
arch: ${{ matrix.arch }}
aws-role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: eu-central-1

- name: Generate and build unit tests
working-directory: ${{ env.PKG_DIR }}
run: |
npm run coverage:cpp:build

- name: Setup Python (.nemo -> .gguf conversion)
uses: actions/setup-python@v5
with:
python-version: '3.12'

# The C++ test suite only needs ONE GGUF pointed at by
# QVAC_TEST_GGUF (see addon/tests/test_core.cpp::gguf_test_path).
# Engine identity does not matter -- the comment there says
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contents: read
id-token: write
checks: write
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner }}
environment: release
name: ${{ matrix.platform }}-${{ matrix.arch }}-cpp-tests
strategy:
Expand All @@ -42,6 +42,7 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
runner: qvac-ubuntu2204-x64
coverage: true
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg/cache,readwrite"
Expand All @@ -55,25 +56,20 @@ jobs:
token: ${{ secrets.PAT_TOKEN }}
lfs: true

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: lts/*

- name: Setup LLVM
if: matrix.platform == 'linux'
uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c

- name: Install NPM dependencies
working-directory: ${{ env.WORKDIR }}
run: |
npm install
npm install -g bare bare-make
# npm install -g bare bare-make

- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Configure vcpkg in linux
run: echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV

- name: Add bare tooling to PATH (Linux x64)
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH

- name: Generate and build unit tests
working-directory: ${{ env.WORKDIR }}
run: |
Expand Down
35 changes: 8 additions & 27 deletions .github/workflows/cpp-test-coverage-tts-ggml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
contents: read
id-token: write
checks: write
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner || matrix.os }}
environment: release
name: ${{ matrix.platform }}-${{ matrix.arch }}-cpp-tests
strategy:
Expand All @@ -34,6 +34,7 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
runner: qvac-ubuntu2204-x64
coverage: true
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg/cache,readwrite"
Expand All @@ -47,19 +48,10 @@ jobs:
token: ${{ secrets.PAT_TOKEN }}
lfs: true

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: lts/*

- name: Setup LLVM
if: matrix.platform == 'linux'
uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c

- name: Setup ccache
if: matrix.platform == 'linux'
run: |
sudo apt-get install -y ccache
# sudo apt-get install -y ccache
ccache -z
echo "CMAKE_C_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
echo "CMAKE_CXX_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
Expand All @@ -76,32 +68,21 @@ jobs:
working-directory: ${{ env.PKG_DIR }}
run: |
npm install
npm install -g bare bare-make
# npm install -g bare bare-make

- name: Add bare tooling to PATH (Linux x64)
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH

- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Configure vcpkg in linux
run: echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV

- name: Setup Vulkan SDK
uses: tetherto/qvac/.github/actions/setup-vulkan-sdk@0bbdca93da303a0b1634ba14a89cec085621078d
env:
MODEL_S3_BUCKET: ${{ secrets.MODEL_S3_BUCKET }}
with:
platform: ${{ matrix.platform }}
arch: ${{ matrix.arch }}
aws-role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: eu-central-1

- name: Generate and build C++ unit tests (with coverage)
working-directory: ${{ env.PKG_DIR }}
run: |
npm run coverage:cpp:build

- name: Setup Python (HF -> .gguf conversion for QVAC_TEST_* gates)
uses: actions/setup-python@v5
with:
python-version: '3.12'

# Mirrors parakeet's cpp-test-coverage flow. The C++ suite has two
# tiers of tests:
# - Pure validation / static-helper tests (no GGUF needed).
Expand Down
26 changes: 7 additions & 19 deletions .github/workflows/cpp-test-coverage-tts-onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:

jobs:
cpp-tests:
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner || matrix.os }}
environment: release
name: ${{ matrix.platform }}-${{ matrix.arch }}-cpp-tests
permissions:
Expand All @@ -55,21 +55,14 @@ jobs:
- os: ubuntu-22.04
platform: linux
arch: x64
runner: qvac-ubuntu2204-x64
coverage: true

env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg/cache,readwrite"
WORKDIR: ${{ inputs.workdir || github.event.inputs.workdir || 'packages/tts-onnx' }}

steps:
- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Maximize build space
run: |
sudo docker image prune --all --force
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/ghc
sudo rm -rf /usr/share/dotnet

- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
with:
Expand All @@ -79,25 +72,20 @@ jobs:
lfs: true
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: lts/*

- name: Setup LLVM
if: matrix.platform == 'linux'
uses: tetherto/qvac/.github/actions/setup-llvm@0c819dd1110e4902223b1f7646cc0f1be2c9bc5c

- name: Install NPM dependencies
working-directory: ${{ env.WORKDIR }}
run: |
npm install
npm install -g bare bare-make
# npm install -g bare bare-make

- if: ${{ matrix.os == 'ubuntu-22.04' }}
name: Configure vcpkg in linux
run: echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV

- name: Add bare tooling to PATH (Linux x64)
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: echo "/usr/local/nvm/versions/node/v20.20.2/bin" >> $GITHUB_PATH

- name: Generate and build unit tests
working-directory: ${{ env.WORKDIR }}
run: |
Expand Down
Loading
Loading