Skip to content

Close the libusb handle if returning failure from open() #201

Close the libusb handle if returning failure from open()

Close the libusb handle if returning failure from open() #201

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- fedora
- debian
fail-fast: false
steps:
- uses: actions/checkout@v3
- run: docker build -t libgusb-${{ matrix.distro }} -f contrib/ci/Dockerfile-${{ matrix.distro }} .
- run: docker run -t -v `pwd`:/build libgusb-${{ matrix.distro }} ./contrib/ci/build_and_test.sh -Dtests=false