-
-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve depth-map estimation in textureless areas using multi-resolution * Add texture sharpening * Ground plane estimation * Estimate volume from the reconstructed mesh * Texture transfer between two meshes * Automatic Region-Of-Interest estimation * Simplify build with vcpkg * Add tests * Add Continuous Integration action * Various bug fixes
- Loading branch information
1 parent
1d3df16
commit f62b38d
Showing
86 changed files
with
5,126 additions
and
1,896 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: Continuous Integration | ||
run-name: ${{ github.actor }} is building OpenMVS | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
pull_request: | ||
branches: [master, develop] | ||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
env: | ||
CTEST_OUTPUT_ON_FAILURE: 1 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build-tests: | ||
name: Build on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
include: | ||
- os: windows-latest | ||
triplet: x64-windows-release | ||
build-type: Release | ||
- os: ubuntu-latest | ||
triplet: x64-linux-release | ||
build-type: Release | ||
- os: macos-latest | ||
triplet: x64-osx | ||
build-type: Release | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Restore artifacts, or setup vcpkg for building artifacts | ||
uses: lukka/run-vcpkg@v10.6 | ||
with: | ||
vcpkgDirectory: '${{ github.workspace }}/vcpkg' | ||
vcpkgGitCommitId: '4cb4a5c5ddcb9de0c83c85837ee6974c8333f032' | ||
|
||
- name: Install Ubuntu dependencies | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y autoconf-archive libxmu-dev libdbus-1-dev libxtst-dev libxi-dev libxinerama-dev libxcursor-dev xorg-dev libgl-dev libglu1-mesa-dev pkg-config | ||
- name: Install macOS dependencies | ||
if: matrix.os == 'macOS-latest' | ||
run: | | ||
brew install automake autoconf-archive | ||
- name: Configure CMake | ||
run: | | ||
cmake -S . -B make -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DVCPKG_TARGET_TRIPLET=${{ matrix.triplet }} | ||
- name: Build | ||
working-directory: ./make | ||
run: | | ||
rm -rf ../vcpkg/buildtrees | ||
rm -rf ../vcpkg/downloads | ||
cmake --build . --config ${{ matrix.build-type }} --parallel $(nproc) | ||
- name: Unit Tests | ||
working-directory: ./make | ||
run: | | ||
ctest -j$(nproc) --build-config ${{ matrix.build-type }} | ||
- name: Deploy Windows release | ||
if: matrix.os == 'windows-latest' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: OpenMVS_Windows_Release_x64 | ||
path: | | ||
${{ github.workspace }}/make/bin/**/x64 | ||
!${{ github.workspace }}/make/bin/**/*.exp |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ CMakeSettings.json | |
.vscode/ | ||
out/ | ||
bin*/ | ||
make*/ |
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
Oops, something went wrong.