Doc / GNU install in CMake #533
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: "StarterTemplate" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
build: | |
name: EasyIntegration | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [windows-latest, macos-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# - name: Setup interactive tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- name: apt install xorg-dev libglfw3-dev libfreetype-dev(ubuntu only) | |
if: ${{ matrix.platform == 'ubuntu-latest' }} | |
run: sudo apt-get update && sudo apt-get install -y xorg-dev libglfw3-dev libfreetype-dev | |
- name: Build _example_integration | |
run: | | |
cd _example_integration | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DHELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=ON | |
cmake --build . --config Release |