Skip to content

Updated a handful of packages to resolve build errors when using the … #16

Updated a handful of packages to resolve build errors when using the …

Updated a handful of packages to resolve build errors when using the … #16

Workflow file for this run

name: CI Checks
on: [push, pull_request]
jobs:
test-units:
strategy:
matrix:
#os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: Swatinem/rust-cache@v1
- name: Install dependencies (Linux)
run: |
sudo apt update
sudo apt -y install jq build-essential clang libclang-dev llvm-dev libudev-dev pkg-config
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (macOS)
run: |
brew install llvm
if: matrix.os == 'macos-latest'
- name: Run test units
run: |
make test
- name: Compile all bins
run: |
./script/compile_all_bins.sh
feature-powerset:
name: Test crate feature powerset on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v1
- name: Install dependencies (Linux)
run: |
sudo apt update
sudo apt -y install jq build-essential clang libclang-dev llvm-dev libudev-dev pkg-config
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (macOS)
run: |
brew install llvm
if: matrix.os == 'macos-latest'
- name: Run feature powerset builds
run: |
make check
fmt:
name: rustfmt
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: |
rustup component add rustfmt
cargo fmt -- --check