mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
ci: add IMAGE=1 compile-only tests (#16182)
* ci: add IMAGE=1 compile-only tests * fix
This commit is contained in:
parent
faf7fb7513
commit
f1fdd2ccec
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -1003,6 +1003,10 @@ jobs:
|
|||
python -c "from tinygrad import Device; assert Device.DEFAULT == 'NULL'"
|
||||
DEBUG=4 python3 test/backend/test_ops.py TestOps.test_add
|
||||
python -m pytest -n=auto test/backend/test_ops.py --durations=20
|
||||
- name: Run test_ops (IMAGE)
|
||||
if: matrix.backend == 'ir3'
|
||||
shell: bash
|
||||
run: IMAGE=1 DEV="NULL:IR3:a630,IMAGE_PITCH_ALIGNMENT=64" python -m pytest -n=auto test/backend/test_ops.py --durations=20
|
||||
qcomclcompiletests:
|
||||
name: Compile-only (QCOM CL)
|
||||
runs-on: ubuntu-24.04-arm
|
||||
|
|
@ -1026,3 +1030,6 @@ jobs:
|
|||
python -c "from tinygrad import Device; assert Device.DEFAULT == 'NULL'"
|
||||
DEBUG=4 python3 test/backend/test_ops.py TestOps.test_add
|
||||
python -m pytest -n=auto test/backend/test_ops.py --durations=20
|
||||
- name: Run test_ops (IMAGE)
|
||||
shell: bash
|
||||
run: IMAGE=1 DEV="NULL:QCOMCL:a630,IMAGE_PITCH_ALIGNMENT=64" python -m pytest -n=auto test/backend/test_ops.py --durations=20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue