diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8bcc1f..3a93bdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: install libclang + uses: crazy-max/ghaction-chocolatey@v1 + with: + args: install llvm - name: build run: cargo build --workspace --verbose - name: run tests @@ -51,24 +55,6 @@ jobs: - name: build examples run: cargo build --workspace --examples --verbose - build-ubuntu-aarch64: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: 'true' - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: aarch64-unknown-linux-gnu - override: true - - run: sudo apt-get install libusb-1.0-0-dev - - uses: actions-rs/cargo@v1 - with: - use-cross: true - command: build - args: --target aarch64-unknown-linux-gnu --workspace --verbose - lint: runs-on: ubuntu-latest steps: @@ -89,6 +75,8 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: install libusb-1.0 + run: sudo apt-get install libusb-1.0-0-dev - name: setup rust nightly uses: actions-rs/toolchain@v1 with: