Added ability to build static library. #22
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: OSX Build Test | |
on: | |
[pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout The PR | |
uses: actions/checkout@v2 | |
- name: Install Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
- name: Install PDAL | |
shell: bash -l {0} | |
run: conda install -c conda-forge pdal | |
- name: Build | |
shell: bash -l {0} | |
run: | | |
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCONDA_BUILD=OFF . | |
make | |
make install | |
- name: Test | |
shell: bash -l {0} | |
run: | | |
ctest -VV | |