-
Notifications
You must be signed in to change notification settings - Fork 38
60 lines (54 loc) · 1.48 KB
/
anari_sdk_ci.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## Copyright 2021-2024 The Khronos Group
## SPDX-License-Identifier: Apache-2.0
name: ANARI-SDK CI
on:
push:
branches: [ next_release ]
pull_request:
branches: [ main, next_release ]
env:
ANARI_LIBRARY: helide
jobs:
build-linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
config: [Release, Debug]
steps:
- name: Install Packages
run: sudo apt install -y libboost-system-dev
- name: Build and test
uses: ./.github/actions/configure_and_build
with:
workspace: ${{ github.workspace }}
config: ${{ matrix.config }}
os: ${{ matrix.os }}
build-windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
config: [Release, Debug]
steps:
- name: Build and test
uses: ./.github/actions/configure_and_build
with:
workspace: ${{ github.workspace }}
config: ${{ matrix.config }}
os: ${{ matrix.os }}
build-macos:
# iOS is 10x expensive to run on GitHub machines, so only run if we know something else passed as well
needs: [build-linux, build-windows]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
config: [Release]
steps:
- name: Build and test
uses: ./.github/actions/configure_and_build
with:
workspace: ${{ github.workspace }}
config: ${{ matrix.config }}
os: ${{ matrix.os }}