Skip to content

update changes + versions #353

update changes + versions

update changes + versions #353

Workflow file for this run

name: tests
on:
- push
- pull_request
jobs:
build:
name: clingo-dl ${{ matrix.python-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.10']
include:
- os: 'ubuntu-latest'
generator: 'Ninja'
build_type: 'Debug'
channels: 'potassco/label/dev'
env_file: '.github/linux-env.yml'
- os: 'macos-latest'
generator: 'Ninja'
build_type: 'Debug'
env_file: '.github/macos-env.yml'
- os: 'windows-latest'
generator: 'Visual Studio 17 2022'
build_type: 'Release'
env_file: '.github/generic-env.yml'
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
activate-environment: clingo-dl
python-version: ${{ matrix.python-version }}
environment-file: ${{ matrix.env_file }}
- name: print info
shell: bash -l {0}
run: |
env
conda info
conda list
- name: build and test
shell: bash -l {0}
run: >
ctest
--build-config "${{ matrix.build_type }}"
--build-generator "${{ matrix.generator }}"
--build-and-test . build
--build-options -DCLINGODL_BUILD_TESTS=On
--test-command ctest -V --build-config "${{ matrix.build_type }}"