|
|
|
@ -40,12 +40,15 @@ jobs:
|
|
|
|
|
run: cargo build --workspace --examples --verbose
|
|
|
|
|
|
|
|
|
|
build-macos:
|
|
|
|
|
runs-on: macOS-10.14
|
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
with:
|
|
|
|
|
submodules: 'true'
|
|
|
|
|
- uses: keepitsimpletech/actions/setup-macports@setup-macports/releases/v1
|
|
|
|
|
- name: install macports
|
|
|
|
|
run: |
|
|
|
|
|
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
|
|
|
|
|
- name: build
|
|
|
|
|