Skip to content

Adding CI jobs for gpu_nvidia devices #111

Adding CI jobs for gpu_nvidia devices

Adding CI jobs for gpu_nvidia devices #111

Workflow file for this run

name: CI Build
# Triggers on push and branches on the master
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
all:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
build_type : [ Debug, Release ]
shared_type : [ OFF, ON ]
profiling : [ OFF, ON ]
device: [ cpu, gpu_nvidia ]
exclude:
- build_type: Debug
profiling: OFF
- build_type: Release
shared_type: OFF
name: "${{matrix.build_type}} Shared=${{matrix.shared_type}} Profile=${{matrix.profiling}}"

Check failure on line 25 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
runs-on: [ ${{matrix.device}}, self-hosted ]
env:
BUILD_TYPE: ${{matrix.build_type}}
SHARED_TYPE: ${{matrix.shared_type}}
PROFILING: ${{matrix.profiling}}
DEVICE: ${{matrix.device}}
BUILD_DIRECTORY: build
INSTALL_DIRECTORY: install
steps:
- uses: actions/checkout@v4
- name: Setup Build Environment ${{ runner.os }}
run: .github/CI/setup.sh
- name: Configure CMake
run: .github/CI/configure.sh
- name: Build
run: .github/CI/build.sh
- name: Install
run: .github/CI/install.sh
- name: Test
run: .github/CI/test.sh
- name: Save Artifact
if: failure()
uses: actions/upload-artifact@v4
with:
name: CMake-error-log
path: CMakeFiles/CMakeError.log