Publish GlTexture in the API #136
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: "CppLib" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
- main | |
- dev | |
- imgui_bundle | |
env: | |
MACOSX_DEPLOYMENT_TARGET: "10.15" | |
jobs: | |
build: | |
name: Build Cpp Library | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [windows-2019, macos-latest, ubuntu-latest] | |
# platform: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: install linux deps on ubuntu | |
run: ./scripts/install_linux_deps.sh | |
# - name: Setup interactive tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- name: Build | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DIMMVISION_FETCH_OPENCV=ON -DHELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=ON | |
cmake --build . --config Release |