Skip to content

Commit d1f7348

Browse files
Sentimentronxnnpack-bot
authored andcommitted
[gn] Add support for most of XNNPACK's tests
Also adds a helper script (run-gn-tests.py) which works like this: > python3 ./scripts/run-gn-tests.py out/Default PiperOrigin-RevId: 864505193
1 parent d08f992 commit d1f7348

File tree

5 files changed

+599
-10
lines changed

5 files changed

+599
-10
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ jobs:
379379

380380
gn-linux-x86_64:
381381
runs-on: 'ubuntu-24.04-8core'
382-
timeout-minutes: 10
382+
timeout-minutes: 15
383383
steps:
384384
- name: Install Depot Tools
385385
uses: newkdev/setup-depot-tools@v1.0.1
@@ -411,6 +411,10 @@ jobs:
411411
run: |
412412
autoninja -C out/Debug
413413
working-directory: ${{ github.workspace }}/xnnpack
414+
- name: Run tests
415+
run: |
416+
python3 scripts/run-gn-tests.py out/Debug
417+
working-directory: ${{ github.workspace }}/xnnpack
414418

415419
bazel-linux-x86_64-clang-18:
416420
runs-on: 'ubuntu-24.04-8core'

0 commit comments

Comments
 (0)