-
Notifications
You must be signed in to change notification settings - Fork 63
35 lines (30 loc) · 960 Bytes
/
ci-gh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build and test on GH
concurrency:
group: ci-build-and-test-on-${{ github.event_name }}-from-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- "pull-request/[0-9]+"
- "branch-*"
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
include:
- device: gpu
build-runner: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu32' || 'ubuntu-latest' }}
platform: linux
- device: cpu
build-runner: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu32' || 'ubuntu-latest' }}
platform: linux
- device: cpu
build-runner: macos-latest
platform: osx
uses:
./.github/workflows/gh-build-and-test.yml
with:
device: ${{ matrix.device }}
build-runner: ${{ matrix.build-runner }}
platform: ${{ matrix.platform }}