Skip to content

Merge pull request #746 from ngageoint/decorr-rate-issue #2845

Merge pull request #746 from ngageoint/decorr-rate-issue

Merge pull request #746 from ngageoint/decorr-rate-issue #2845

name: Build, unittest
on: [push]
jobs:
build-windows:
name: Windows
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: configure
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=installWindows-Github -DPYTHON_VERSION="3.7" ..
- name: make
run: |
cd build
cmake --build . --config Release -j
cmake --build . --config Release --target install
- name: test
run: |
cd build
ctest -C Release
build-linux:
name: Linux
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: configure
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=installLinux-Github -DPYTHON_VERSION=3.7 ..
- name: make
run: |
cd build
cmake --build . -j 2
cmake --build . --target install
- name: test
run: |
cd build
ctest