reasonable 0.2.1-alpha2

An OWL 2 RL reasoner with reasonable performance
Documentation
name: Build
on:
  push:
    branches:
        - master
  pull_request:
    branches:
        - master

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust:
          # - stable
          - nightly
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true
          components: rustfmt, clippy

      - uses: actions-rs/cargo@v1
        with:
          command: build
          args: --release

      - uses: actions-rs/cargo@v1
        with:
          command: test

      - name: Get current date
        id: date
        run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

      - uses: meeDamian/github-release@2.0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          name: Nightly Build ${{ steps.date.outputs.date }}
          tag: nightly
          body: >
            This is an automatically generated release
          files: >
            target/release/reasonable
          gzip: false
          allow_override: true
  python:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        rust:
          # - stable
          - nightly
        os: [ubuntu-latest, macos-latest]
        python-version: [3.6.12, 3.7.9, 3.8.5, 3.9.0]
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.rust }}
          override: true
          components: rustfmt, clippy

      - uses: actions-rs/cargo@v1
        with:
          command: test

      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}

      - name: Install Python dependencies
        run: |
          pip install maturin rdflib
          pip freeze

      - name: Build Python Library
        run: |
          maturin build -i python -b pyo3

      - name: Publish Python Library
        continue-on-error: true
        env:
            PYPI_USER: ${{ secrets.PYPI_USER }}
            MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }}
        run: |
          maturin publish -i python -b pyo3 -u $PYPI_USER