Skip to content

change method of finding Python for robustness, enhance CI to cover issues #667

change method of finding Python for robustness, enhance CI to cover issues

change method of finding Python for robustness, enhance CI to cover issues #667

Workflow file for this run

## 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-windows

Check failure on line 48 in .github/workflows/anari_sdk_ci.yml

View workflow run for this annotation

GitHub Actions / ANARI-SDK CI

Invalid workflow file

The workflow is not valid. .github/workflows/anari_sdk_ci.yml (Line: 48, Col: 12): Job 'build-macos' depends on unknown job 'build-linux-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 }}