Skip to content

Review imgui test engine include path #9

Review imgui test engine include path

Review imgui test engine include path #9

Workflow file for this run

name: "VcpkgPackage"
# Test that the vcpkg package build successfully
on:
workflow_dispatch:
pull_request:
push:
jobs:
build:
name: VcpkgPackage
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
vcpkg_triplet: x64-linux-release
- os: macos-latest
vcpkg_triplet: x64-osx-release
- os: windows-latest
vcpkg_triplet: x64-windows-release
steps:
- name: install glfw & sdl requirements
if : ${{ matrix.config.os == 'ubuntu-latest' }}
shell: bash
run: |
sudo apt-get update && sudo apt-get install -y libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config libx11-dev libxft-dev libxext-dev
- name: vcpkg install
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: 'glad[gl-api-43] stb freetype lunasvg glfw3 sdl2'
triplet: ${{ matrix.config.vcpkg_triplet }}
cache-key: ${{ matrix.config.os }}
revision: master
token: ${{ github.token }}
github-binarycache: true
- uses: actions/checkout@v4
with:
submodules: false
# - name: Setup interactive tmate session
# uses: mxschmitt/action-tmate@v3
# Available rendering bindings:
# opengl3-binding, metal-binding, opengl3-binding, vulkan-binding, dx11-binding, dx12-binding
# We test only opengl3-binding
- name: vcpkg install hello_imgui
shell: bash
run: |
vcpkg install "hello-imgui[opengl3-binding, glfw-binding, sdl2-binding]" --overlay-ports=hello_imgui_cmake/overlay_vcpkg/hello-imgui