Skip to content

Added FindOnnx cmake, Removed JSON.cpp & JSON.h copies #95

Added FindOnnx cmake, Removed JSON.cpp & JSON.h copies

Added FindOnnx cmake, Removed JSON.cpp & JSON.h copies #95

Workflow file for this run

name: Build and Tests
on:
workflow_dispatch:
branches: [ main ]
push:
branches: [ main ]
paths:
- '**.cpp'
- '**.h'
- '**.py'
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
steps:
- name: Install LLVM-10
run: |
wget https://apt.llvm.org/llvm.sh
sudo bash llvm.sh 10
- uses: actions/checkout@v3
- name: Setup Conda dependencies
uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge,bioconda,defaults
auto-activate-base: true
activate-environment: mlbridge
environment-file: mlbridge.yml
- name: Install other dependencies and build
run: bash .github/workflows/mlbridge_build.sh release
- name: Setup Conda dependencies
uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge,bioconda,defaults
auto-activate-base: true
activate-environment: mlbridge
environment-file: mlbridge.yml
- name: Run Tests
run: |
conda init
conda activate mlbridge
pip install compilerinterface
cd $GITHUB_WORKSPACE/test
bash mlbridge-test.sh
- uses: actions/upload-artifact@v2
with:
name: MLCompilerBridge
path: |
install/lib
install/include