Skip to content

fix: cannot resolve includes globally #56

fix: cannot resolve includes globally

fix: cannot resolve includes globally #56

Workflow file for this run

name: Tests
on:
push:
branches:
- main
paths:
- 'src/**'
- 'examples/**'
- 'CMakeLists.txt'
- '.github/workflows/test.yml'
pull_request:
paths:
- 'src/**'
- 'examples/**'
- 'CMakeLists.txt'
- '.github/workflows/test.yml'
workflow_dispatch:
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Clang
uses: egor-tensin/setup-clang@v1
with:
version: 16
platform: x64
- name: Setup CMake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.26.0'
- name: Build
run: |
mkdir build
mkdir build/flame-route
cd build
CXX=clang++ CC=clang cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=flame-route ..
make -j2
- name: Test
run: |
bash test/test.sh || exit 1
- name: Generate Artifact
run: |
cd build
make install
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: flame-route
path: build/flame-route