Merge pull request #89 from alemuntoni/devel

Github actions workflows for building vcg samples
This commit is contained in:
Alessandro Muntoni 2020-09-10 17:00:31 +02:00 committed by GitHub
commit d33a25db2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 70 additions and 26 deletions

18
.github/workflows/BuildSamplesMacOS.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: BuildSamplesMacOS
on:
[push, pull_request]
jobs:
macos_build_tests:
name: Build Samples (MacOS)
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2
- name: Build Samples
run: |
qmake apps/sample/sample.pro
make -j4

View File

@ -0,0 +1,18 @@
name: BuildSamplesUbuntu
on:
[push, pull_request]
jobs:
ubuntu_build_tests:
name: Build Samples (Ubuntu)
runs-on: ubuntu-latest #in order to deploy, need to use oldest supported version
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v2
- name: Build Samples
run: |
qmake apps/sample/sample.pro
make -j4

View File

@ -0,0 +1,29 @@
name: BuildSamplesWindows
on: [push, pull_request]
jobs:
windows_build_tests:
name: Build Samples (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Downlaod Jom
run: |
Invoke-WebRequest -Uri "http://download.qt.io/official_releases/jom/jom_1_1_3.zip" -OutFile "jom_1_1_3.zip"
New-Item -Name "jom" -ItemType "directory"
Expand-Archive -Path jom_1_1_3.zip -DestinationPath .\jom
echo "::add-path::$(Get-Location)\jom"
- name: Setup env variables
id: envs
run: |
echo '::set-env name=VCINSTALLDIR::C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC'
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Install Qt
uses: jurplel/install-qt-action@v2
- name: Build Samples
run: |
qmake apps/sample/sample.pro
jom -j4

View File

@ -1,7 +1,8 @@
The **_Visualization and Computer Graphics Library_** (VCGlib for short) is a open source, portable, C++, templated, no dependency, library for manipulation, processing, cleaning, simplifying triangle meshes. The **_Visualization and Computer Graphics Library_** (VCGlib for short) is a open source, portable, C++, templated, no dependency, library for manipulation, processing, cleaning, simplifying triangle meshes.
[![Build Status](https://travis-ci.org/cnr-isti-vclab/vcglib.svg?branch=devel)](https://travis-ci.org/cnr-isti-vclab/vcglib) ![BuildSamplesUbuntu](https://github.com/cnr-isti-vclab/vcglib/workflows/BuildSamplesUbuntu/badge.svg)
[![Build status](https://ci.appveyor.com/api/projects/status/7k27s4k4xjmeowoe/branch/devel?svg=true)](https://ci.appveyor.com/project/cignoni/vcglib/branch/devel) ![BuildSamplesMacOS](https://github.com/cnr-isti-vclab/vcglib/workflows/BuildSamplesMacOS/badge.svg)
![BuildSamplesWindows](https://github.com/cnr-isti-vclab/vcglib/workflows/BuildSamplesWindows/badge.svg)
The library, composed by more than 100k lines of code, is released under the GPL license, and it is the base of most of the software tools of the [Visual Computing Lab](http://vcg.isti.cnr.it) of the Italian National Research Council Institute ISTI, like MeshLab, metro and many others. The library, composed by more than 100k lines of code, is released under the GPL license, and it is the base of most of the software tools of the [Visual Computing Lab](http://vcg.isti.cnr.it) of the Italian National Research Council Institute ISTI, like MeshLab, metro and many others.

View File

@ -1,7 +1,3 @@
include(../common.pri)
TARGET = colorspace TARGET = colorspace
LIBPATH +=
DEPENDPATH += .
INCLUDEPATH += . ../../..
CONFIG += console stl
TEMPLATE = app
SOURCES += colorspace.cpp SOURCES += colorspace.cpp

View File

@ -1,7 +1,3 @@
\macx: QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
QMAKE_MAC_SDK = macosx10.9
CONFIG += c++11
include(../common.pri) include(../common.pri)
TARGET = polygonmesh_base TARGET = polygonmesh_base
SOURCES += polygonmesh_dual.cpp ../../../wrap/ply/plylib.cpp SOURCES += polygonmesh_dual.cpp ../../../wrap/ply/plylib.cpp

View File

@ -1,7 +1,3 @@
\macx: QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
QMAKE_MAC_SDK = macosx10.9
CONFIG += c++11
include(../common.pri) include(../common.pri)
TARGET = polygonmesh_base TARGET = polygonmesh_base
SOURCES += polygonmesh_optimize.cpp ../../../wrap/ply/plylib.cpp SOURCES += polygonmesh_optimize.cpp ../../../wrap/ply/plylib.cpp

View File

@ -1,10 +0,0 @@
TEMPLATE = subdirs
SUBDIRS = polygonmesh_base \
polygonmesh_dual \
polygonmesh_optimize \
# polygonmesh_quadsimpl \
polygonmesh_smooth \
polygonmesh_zonohedra