Skip to content

Don't require gdb script #2255

Don't require gdb script

Don't require gdb script #2255

Workflow file for this run

name: Continuous integration
on:
pull_request:
push:
branches: [master]
env:
CARGO_INCREMENTAL: 0 # set here rather than on CI profile so that the tests get it too
jobs:
check-msrv:
name: Check (MSRV)
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
deps: sudo apt-get update && sudo apt-get install libusb-1.0-0-dev libftdi1-dev libudev-dev
- os: windows-latest
deps: vcpkg install libusb libftdi1
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: '${{ matrix.deps }}'
- uses: actions/checkout@v2
with:
submodules: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: check
args: --profile=ci
check:
name: Check
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
deps: sudo apt-get update && sudo apt-get install libusb-1.0-0-dev libftdi1-dev libudev-dev
- os: windows-latest
deps: vcpkg install libusb libftdi1
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: '${{ matrix.deps }}'
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: check
args: --profile=ci
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
deps: sudo apt-get update && sudo apt-get install libusb-1.0-0-dev libftdi1-dev libudev-dev
- os: windows-latest
deps: vcpkg install libusb libftdi1
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies
run: '${{ matrix.deps }}'
- uses: actions/checkout@v2
with:
submodules: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --profile=ci
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install libusb-1.0-0-dev libftdi1-dev libudev-dev
- uses: actions/checkout@v2
with:
submodules: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --profile=ci -- -D warnings