xiapi-sys 0.1.2

Unsafe low-level ffi bindings to the XIMEA API
Documentation
name: Rust

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:    
  build:

    runs-on: ubuntu-20.04

    steps:
    - uses: actions/checkout@v2
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: nightly
        components: clippy
        override: true
    - name: Download xiapi
      run: wget https://www.ximea.com/downloads/recent/XIMEA_Linux_SP.tgz
    - name: Unpack xiapi
      run: tar -xzf XIMEA_Linux_SP.tgz
    - name: Install xiapi
      run: cd package && pwd && ./install
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose -- --skip open_close --skip set_param --skip xi_sample