fix tests

This commit is contained in:
George Hotz
2020-11-10 09:49:19 -08:00
parent 23405cec43
commit 58e703d099
3 changed files with 6 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install SLOCCount
run: sudo apt install sloccount
run: sudo apt-get install sloccount
- name: Check <1000 lines
run: sloccount tinygrad test examples; if [ $(sloccount tinygrad | sed -n 's/.*Total Physical Source Lines of Code (SLOC)[ ]*= \([^ ]*\).*/\1/p' | tr -d ',') -gt 1000 ]; then exit 1; fi
@@ -22,8 +22,10 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: CpuInfo
run: cat /proc/cpuinfo
- name: Install OpenCL
run: sudo apt install intel-opencl-icd
run: sudo apt-get install intel-opencl-icd
- name: Set up Python 3.8
uses: actions/setup-python@v2
with: