Skip to content

fix naming to avoid define overrides #48

fix naming to avoid define overrides

fix naming to avoid define overrides #48

Workflow file for this run

name: Build on Dev branch
on:
push:
branches:
- dev
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Load submodules
run:
git submodule update --init --recursive
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake libgl1-mesa-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libwayland-dev libxkbcommon-dev libcurl4-openssl-dev
- name: Configure and build (Linux)
if: runner.os == 'Linux'
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
- name: Configure and build (Windows)
if: runner.os == 'Windows'
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release