Skip to content

Merge pull request #21 from ornlneutronimaging/update_license #23

Merge pull request #21 from ornlneutronimaging/update_license

Merge pull request #21 from ornlneutronimaging/update_license #23

Workflow file for this run

name: sophiread_ci
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- qa
- next
tags:
- "v*"
jobs:
ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
mamba-version: "*"
environment-file: sophiread/environment_linux.yml
- name: build_sophiread
shell: bash -l {0}
run: |
cd sophiread
mkdir build
cd build
cmake ..
make
- name: test_sophiread
shell: bash -l {0}
run: |
cd sophiread/build
ctest -V --output-on-failure
# macos-latest:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - uses: conda-incubator/setup-miniconda@v2
# with:
# auto-update-conda: true
# mamba-version: "*"
# environment-file: sophiread/environment_mac.yml
# - name: build_sophiread
# shell: bash -l {0}
# run: |
# cd sophiread
# mkdir build
# cd build
# cmake ..
# make
# - name: test_sophiread
# shell: bash -l {0}
# run: |
# cd sophiread/build
# ctest -V