Skip to content

Commit

Permalink
build it
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeswenson committed May 3, 2020
1 parent 6359363 commit 0a3e31d
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,25 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
build-linux:
runs-on: ubuntu-latest
build:
strategy:
matrix:
feature_build: [no-default, default]
build:
- os: ubuntu-latest
features: no-default
- os: ubuntu-latest
features: default
- os: macos-10.15
features: default
runs-on: ${{matrix.build.os}}
env:
FEATURE_BUILD: ${{matrix.feature_build}}
FEATURE_BUILD: ${{matrix.build.features}}
steps:
- uses: actions/checkout@v2
- name: Install dependencies for default features on linux
if: matrix.feature_build == 'default'
if: matrix.build.features == 'default'
run: sudo apt-get install libdbus-1-dev libxcb-shape0 libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xfixes0
- name: Build
run: .ci/build.sh
- name: Run tests
run: .ci/test.sh
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: .ci/test.sh

0 comments on commit 0a3e31d

Please sign in to comment.