Added mingw path to ci

pull/7/head
ko1N 4 years ago
parent c52bd8354c
commit a9369ad0ee

@ -17,11 +17,17 @@ jobs:
uses: crazy-max/ghaction-chocolatey@master
with:
args: install llvm
- name: add clang path to $PATH env
shell: bash
run: echo "PATH=$PATH:C:\msys64\mingw64\bin" >> $GITHUB_ENV
- name: build
shell: bash
run: cargo build --workspace --verbose
- name: run tests
shell: bash
run: cargo test --workspace --verbose
- name: build examples
shell: bash
run: cargo build --workspace --examples --verbose
build-ubuntu:
@ -50,7 +56,7 @@ jobs:
curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci
source ./macports-ci install
- name: install libusb-1.0
run: sudo port -vs install libusb libusb-devel
run: sudo port -vs install libusb-devel
- name: build
run: cargo build --workspace --verbose
- name: run tests
@ -64,6 +70,8 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: install libusb-1.0
run: sudo apt-get install libusb-1.0-0-dev
- run: rustup component add clippy
- name: check formatting
run: cargo fmt -- --check

Loading…
Cancel
Save