build: more logging #128
Workflow file for this run
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: Compile | |
on: | |
push: | |
branches: [ "*" ] | |
jobs: | |
Compile: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Install Linux dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev -y | |
- name: Install Windows dependencies | |
if: runner.os == 'Windows' | |
run: vcpkg integrate install && vcpkg install freetype | |
- name: Configure CMake (Windows) | |
if: runner.os == 'Windows' | |
run: cmake . -G="MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake | |
- name: Configure CMake (*nix) | |
if: runner.os != 'Windows' | |
run: cmake . | |
- name: Build | |
run: cmake --build . |