Skip to content

refactor: Remove header files from CMakeLists.txt #16

refactor: Remove header files from CMakeLists.txt

refactor: Remove header files from CMakeLists.txt #16

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build Debug
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Linux environment
if: matrix.os == 'ubuntu-latest'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y
sudo apt-get install g++-13
echo "CXX=$(which g++-13)" >> $GITHUB_ENV
- name: Setup Windows environment
if: matrix.os == 'windows-latest'
run: |
echo "CXX=clang++" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Build
run: make debug CXX=${{ env.CXX }}
- name: Clean
run: make clean