fidle #175
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: CI tests | |
on: [push] | |
jobs: | |
build: | |
name: clingo ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
os: ['windows-latest'] | |
include: | |
# - os: 'ubuntu-latest' | |
# env_file: '.github/tests/linux-env.yml' | |
# - os: 'macos-latest' | |
# env_file: '.github/tests/macos-env.yml' | |
- os: 'windows-latest' | |
env_file: '.github/tests/windows-env.yml' | |
steps: | |
- uses: actions/checkout@v2 | |
# - name: Setup miniconda | |
# uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: clingo | |
environment-file: ${{ matrix.env_file }} | |
- name: Checkout clingo-sys branch test-clingo-wip | |
run: | | |
git clone https://github.com/potassco/clingo-sys.git ./clingo-sys | |
cd clingo-sys | |
git checkout st/test-clingo-wip | |
git submodule update --init --recursive | |
cd clingo | |
git checkout wip | |
- name: Build | |
run: cargo build --features=static-linking,derive --verbose | |
- name: Run tests | |
run: | | |
cargo test --features=static-linking,derive --verbose | |
./target/debug/examples/test |