-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
18 changed files
with
216 additions
and
3 deletions.
There are no files selected for viewing
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,43 @@ | ||
name: Linux | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Linux ${{ matrix.type }} | ||
|
||
runs-on: 'ubuntu-latest' | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
channels: conda-forge | ||
auto-update-conda: true | ||
|
||
- name: Setup | ||
shell: bash -l {0} | ||
run: | | ||
source ./ci/linux/setup.sh | ||
- name: CMake | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/linux/cmake.sh | ||
working-directory: ./build | ||
|
||
- name: Compile | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/linux/compile.sh | ||
working-directory: ./build | ||
|
||
- name: Test | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/linux/test.sh | ||
working-directory: ./build | ||
|
||
|
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,42 @@ | ||
name: OSX | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: OSX | ||
|
||
runs-on: 'macos-latest' | ||
strategy: | ||
fail-fast: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
channels: conda-forge | ||
auto-update-conda: true | ||
|
||
- name: Setup | ||
shell: bash -l {0} | ||
run: | | ||
source ./ci/osx/setup.sh | ||
- name: CMake | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/osx/cmake.sh | ||
working-directory: ./build | ||
|
||
- name: Compile | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/osx/compile.sh | ||
working-directory: ./build | ||
|
||
- name: Test | ||
shell: bash -l {0} | ||
run: | | ||
source ../ci/osx/test.sh | ||
working-directory: ./build | ||
|
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,44 @@ | ||
name: Windows | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: MSVC | ||
|
||
runs-on: 'windows-latest' | ||
strategy: | ||
fail-fast: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
channels: conda-forge | ||
auto-update-conda: true | ||
python-version: '3.8' | ||
|
||
- name: Setup | ||
shell: bash -l {0} | ||
run: | | ||
source ./ci/win/setup.sh | ||
- name: CMake | ||
shell: bash -l {0} | ||
working-directory: ./build | ||
run: | | ||
source ../ci/win/cmake.sh | ||
- name: Compile | ||
shell: bash -l {0} | ||
working-directory: ./build | ||
run: | | ||
source ../ci/win/compile.sh | ||
- name: Test | ||
shell: bash -l {0} | ||
working-directory: ./build | ||
run: | | ||
source ../ci/win/test.sh | ||
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#include <iostream> | ||
#include <algorithm> | ||
|
||
#include "QgisUntwine.hpp" | ||
|
||
|
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,10 @@ | ||
#!/bin/bash | ||
|
||
export PKG_CONFIG_PATH=$CONDA_PREFIX/lib64/pkgconfig | ||
|
||
LDFLAGS="$LDFLAGS -Wl,-rpath-link,$CONDA_PREFIX/lib" cmake .. \ | ||
-G Ninja \ | ||
-DCMAKE_LIBRARY_PATH:FILEPATH="$CONDA_PREFIX/lib" \ | ||
-DCMAKE_INCLUDE_PATH:FILEPATH="$CONDA_PREFIX/include" \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} |
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,4 @@ | ||
#!/bin/bash | ||
|
||
ninja | ||
ninja install |
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,10 @@ | ||
#!/bin/bash | ||
|
||
mkdir build | ||
|
||
conda update -n base -c defaults conda | ||
conda install -c conda-forge cmake ninja compilers -y | ||
|
||
|
||
conda install --yes --quiet pdal -y | ||
|
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,3 @@ | ||
#!/bin/bash | ||
|
||
ctest -V |
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,9 @@ | ||
#!/bin/bash | ||
|
||
cmake .. \ | ||
-G Ninja \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_LIBRARY_PATH:FILEPATH="$CONDA_PREFIX/lib" \ | ||
-DCMAKE_INCLUDE_PATH:FILEPATH="$CONDA_PREFIX/include" \ | ||
-DCMAKE_FIND_FRAMEWORK="NEVER" \ | ||
-DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} |
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,4 @@ | ||
#!/bin/bash | ||
|
||
ninja | ||
ninja install |
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,9 @@ | ||
#!/bin/bash | ||
|
||
mkdir build | ||
|
||
conda update -n base -c defaults conda | ||
conda install cmake ninja compilers -y | ||
|
||
conda install -c conda-forge pdal -y | ||
|
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,3 @@ | ||
#!/bin/bash | ||
|
||
ctest -V |
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,14 @@ | ||
#!/bin/bash | ||
|
||
pwd | ||
where cl.exe | ||
export CC=cl.exe | ||
export CXX=cl.exe | ||
cmake .. -G "Ninja" \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
-DCMAKE_INSTALL_PREFIX="$CONDA_PREFIX" \ | ||
-DWITH_TESTS=ON \ | ||
-DCMAKE_VERBOSE_MAKEFILE=OFF \ | ||
-DCMAKE_LIBRARY_PATH:FILEPATH="$CONDA_PREFIX/Library/lib" \ | ||
-DCMAKE_INCLUDE_PATH:FILEPATH="$CONDA_PREFIX/Library/include" \ | ||
-DOPENSSL_ROOT_DIR="$CONDA_PREFIX/Library" |
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,4 @@ | ||
#!/bin/bash | ||
|
||
ninja -v | ||
ninja install |
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,8 @@ | ||
#!/bin/bash | ||
|
||
mkdir build | ||
|
||
conda update -n base -c defaults conda | ||
conda install -c conda-forge cmake ninja compilers -y | ||
|
||
conda install --yes --quiet pdal -y |
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,3 @@ | ||
#!/bin/bash | ||
|
||
ctest -VV --output-on-failure |
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
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