Skip to content

Commit 5333d9d

Browse files
committed
All in one job.
1 parent 7dc7bd5 commit 5333d9d

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66

7-
build:
7+
build-and-test:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macOS-latest]
@@ -19,19 +19,10 @@ jobs:
1919
- name: Build
2020
run: dotnet build -c Release
2121

22-
test_cpu:
23-
strategy:
24-
matrix:
25-
os: [ubuntu-latest, windows-latest, macOS-latest]
26-
needs: build
27-
runs-on: ${{ matrix.os }}
28-
steps:
29-
- name: Run tests
22+
- name: Run tests on CPU
3023
run: dotnet test
3124

32-
test_pocl:
33-
needs: test_cpu
34-
runs-on: ubuntu_latest
25+
if: runner.os == "Linux"
3526
steps:
3627
- name: Setup POCL and clinfo
3728
run: |

0 commit comments

Comments
 (0)