Skip to content

Add a new header pci.ids.h with the content of scripts/pcs.ids to avo… #238

Add a new header pci.ids.h with the content of scripts/pcs.ids to avo…

Add a new header pci.ids.h with the content of scripts/pcs.ids to avo… #238

name: Linux (gcc)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup gcc
uses: egor-tensin/setup-gcc@v1
- name: Setup gitmodules
run: git submodule update --init --recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DNO_OCL=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Run Example
working-directory: ${{github.workspace}}/build
run: ctest --verbose