fix: broken code #72
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: Builder | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build-windows: | |
name: Windows Build | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure | |
run: | | |
mkdir Build | |
cd Build | |
cmake -G "MinGW Makefiles" -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RELEASE .. | |
- name: Build | |
run: | | |
cd Build | |
make -j4 | |
build-linux: | |
name: Linux Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libglfw3-dev libassimp-dev | |
version: 1.0 | |
- name: Configure | |
run: | | |
mkdir Build | |
cd Build | |
cmake -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RELEASE .. | |
- name: Build | |
run: | | |
cd Build | |
make -j4 |