Skip to content

Commit

Permalink
split builds out to make them cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeswenson committed Apr 26, 2020
1 parent 34bc504 commit 427a466
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
build:
runs-on: ${{ matrix.os }}
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-10.15]
feature_build: [no-default, default]
env:
FEATURE_BUILD: ${{matrix.feature_build}}
Expand All @@ -38,3 +37,13 @@ jobs:
run: .ci/build.sh
- name: Run tests
run: cargo test --verbose
build-mac:
runs-on: macos-10.15
env:
FEATURE_BUILD: ${{matrix.feature_build}}
steps:
- uses: actions/checkout@v2
- name: Build
run: .ci/build.sh
- name: Run tests
run: cargo test --verbose

0 comments on commit 427a466

Please sign in to comment.