Skip to content

Commit

Permalink
run actions ci on osx as well as ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-ayers committed May 5, 2020
1 parent 903b90c commit b7903b9
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ on:
# If you add additional jobs, remember to add them to bors.toml
jobs:
ci-format:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -33,7 +36,10 @@ jobs:
make ci-documentation
ci-build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
Expand All @@ -55,17 +61,21 @@ jobs:
path: ci-artifacts

ci-tests:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- name: ci-cargo-tests
run: make ci-cargo-tests
- name: ci-tools-install-linux
if: contains(runner.os, 'Linux')
run: sudo apt install libusb-1.0-0-dev
- name: ci-tools
run: |
sudo apt install libusb-1.0-0-dev
make ci-tools
run: make ci-tools

emulation-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b7903b9

Please sign in to comment.