File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run tests
2+
3+ on :
4+ push :
5+ paths :
6+ - ' .github/**'
7+ - ' deps/**'
8+ - ' include/**'
9+ - ' src/**'
10+ - ' tests/**'
11+ - ' examples/**'
12+ - ' python/**'
13+ - ' .gitignore'
14+ - ' .gitmodules'
15+ - ' CMakeLists.txt'
16+ pull_request :
17+ branches : [ main ]
18+ workflow_dispatch :
19+
20+ env :
21+ build_dir : " build"
22+ config : " Release"
23+
24+ jobs :
25+ test-with-pocl :
26+ runs-on :
27+ ubuntu-24.04
28+ steps :
29+ - uses : actions/checkout@v4
30+ with :
31+ submodules : true
32+ fetch-depth : 0
33+ - name : Install PoCL
34+ run : |
35+ sudo apt update
36+ sudo apt install -y pocl clinfo
37+ - name : Show available OpenCL devices
38+ run : |
39+ clinfo -l
40+ - name : Build spla
41+ run : |
42+ python3 ./build.py --build-dir=${{ env.build_dir }}
43+ - name : Run tests
44+ run : |
45+ python3 ./run_tests.py --build-dir=${{ env.build_dir }}
You can’t perform that action at this time.
0 commit comments