Skip to content

main.c: fix logic causing "pin not set" false output, when set #15

main.c: fix logic causing "pin not set" false output, when set

main.c: fix logic causing "pin not set" false output, when set #15

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
name: fedora
runs-on: ubuntu-latest
steps:
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
podman pull fedora:38
- name: Get source
uses: actions/checkout@v3
with:
path: 'workdir'
- name: Create container and run tests
run: |
{
echo 'FROM fedora:38'
echo 'RUN dnf -y update'
echo 'RUN dnf -y install make gcc gcc-c++ git libusb1-devel cmake hidapi-devel meson libasan'
echo 'COPY workdir workdir'
echo 'WORKDIR /workdir'
echo 'RUN make CI'
} > podmanfile
podman build --tag fedora38 -f ./podmanfile