RenderNvgToFrameBuffer: improve antialias #36
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: "CppLib_WithBindings" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
env: | |
MACOSX_DEPLOYMENT_TARGET: "11.0" | |
jobs: | |
build: | |
name: CppLib_WithBindings | |
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 | |
# if: ${{ matrix.platform == 'ubuntu-latest' }} | |
# uses: mxschmitt/action-tmate@v3 | |
- name: install xorg-dev on ubuntu | |
run: ./ci_scripts/install_xorg_dev.sh | |
# Install conan & pybind11 | |
- name: install conan and pybind11 (linux and ubuntu) | |
if: ${{ matrix.platform != 'windows-latest' }} | |
run: ./ci_scripts/install_conan_pybind11.sh | |
- name: install conan and pybind11 (windows) | |
if: ${{ matrix.platform == 'windows-latest' }} | |
run: | | |
python3 -m pip install conan | |
conan profile new default --detect | |
python3 -m pip install pybind11 | |
- name: Build and install | |
shell: bash | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DIMGUI_BUNDLE_BUILD_PYTHON=ON -DCMAKE_BUILD_TYPE=Release | |
cmake --build . --config Release -j 3 |