Add a new header pci.ids.h with the content of scripts/pcs.ids to avoid reading the file in runtime #60 #237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux (clang) | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup gitmodules | |
run: git submodule update --init --recursive | |
- name: Setup clang | |
uses: egor-tensin/setup-clang@v1 | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DNO_OCL=ON | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build | |
- name: Run Example | |
working-directory: ${{github.workspace}}/build | |
run: ctest --verbose |