Skip to content

Update thiserror requirement from 1.0 to 2.0 #180

Update thiserror requirement from 1.0 to 2.0

Update thiserror requirement from 1.0 to 2.0 #180

Workflow file for this run

name: CI Test
on: [push, pull_request]
jobs:
build-linux:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ 3.9 }}
- name: Conda install clingo
shell: bash -l {0}
run: |
conda install -c potassco clingo==5.6.2
- name: Conda install clingo-dl
shell: bash -l {0}
run: |
conda install -c potassco clingo-dl==1.4.0
- name: Conda install clingcon
shell: bash -l {0}
run: |
conda install -c potassco clingcon==5.2.0
- name: Build
run: |
export CLINGO_LIBRARY_PATH=/usr/share/miniconda/envs/test/lib
export CLINGO_DL_LIBRARY_PATH=/usr/share/miniconda/envs/test/lib
export CLINGCON_LIBRARY_PATH=/usr/share/miniconda/envs/test/lib
cargo build --verbose
- name: Run tests
run: |
export LD_LIBRARY_PATH=/usr/share/miniconda/envs/test/lib
cargo test --verbose
build-macos:
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ 3.9 }}
- name: Conda install clingo
shell: bash -l {0}
run: |
conda install -c potassco clingo==5.6.2
- name: Conda install clingo-dl
shell: bash -l {0}
run: |
conda install -c potassco clingo-dl==1.4.0
- name: Conda install clingcon
shell: bash -l {0}
run: |
conda install -c potassco clingcon==5.2.0
- name: Build
run: |
export CLINGO_LIBRARY_PATH=/usr/local/miniconda/envs/test/lib
export CLINGO_DL_LIBRARY_PATH=/usr/local/miniconda/envs/test/lib
export CLINGCON_LIBRARY_PATH=/usr/local/miniconda/envs/test/lib
cargo build --verbose
- name: Run tests
run: |
export DYLD_LIBRARY_PATH=/usr/local/miniconda/envs/test/lib
cargo test --verbose