Merge pull request #153 from opencompl/christos/update-readme #328
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run kernels | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-run-kernels: | |
runs-on: ubuntu-latest | |
container: ghcr.io/nazavode/snitch-toolchain:latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: xDSL filecheck tests | |
run: | | |
/opt/python3.11/bin/python3 -m venv venv | |
. venv/bin/activate | |
cd xdsl | |
pip3 install -r requirements.txt | |
yes | pip3 uninstall wgpu | |
lit -v tests/filecheck | |
- name: Build and run kernel 'saxpy' | |
run: make all | |
working-directory: kernels/saxpy/64xf32 | |
# Note: disabling 'ssum' since it is taking 5x the time taken | |
# by saxpy. Let's speed up things a bit, saxpy is fairly enough | |
# of a smoke test. | |
# - name: Build and run kernel 'ssum' | |
# run: make all | |
# working-directory: kernels/ssum/14x26xf32 |