Skip to content

add OffScreen renderer #249

add OffScreen renderer

add OffScreen renderer #249

Workflow file for this run

##############################################################################
# GitHub Actions Workflow for building Easy3D on Windows, Ubuntu, and macOS
# Copyright (C) 2022 Liangliang Nan <liangliang.nan@gmail.com>
# Licensed under GNU LGPL-v3 (see the LICENCE file)
##############################################################################
name: Test Build Easy3D
on: [push, pull_request]
jobs:
build:
name: "Build on ${{ matrix.platform }} - ${{ matrix.build_type }}"
strategy:
fail-fast: false
matrix:
platform: [Windows, Ubuntu, macOS]
build_type: [Debug, Release]
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v1
- if: ${{ matrix.platform == 'Ubuntu' }}
name: Create Build Environment
run: sudo apt-get update || true;
sudo apt-get install libgl1-mesa-dev mesa-common-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev;
- name: Configure
run: cmake -H"." -B"build/${{ matrix.build_type }}" -DEasy3D_BUILD_TESTS=ON;
- name: "Build on ${{ matrix.platform }} - ${{ matrix.build_type }}"
run: cmake --build "build/${{ matrix.build_type }}";