Try to get ubuntu to build

A bit difficult to figure out how to include the apt-get command only for one item in the matrix...
pull/7/head
Benedikt Terhechte 3 years ago committed by GitHub
parent 6303784b41
commit 73e9047cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,15 +11,18 @@ env:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [macOS-latest, windows-2019, ubuntu-latest] os: [macOS-latest, windows-2019, ubuntu-latest]
include:
- os: ubuntu-latest
command: sudo apt-get update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build - run: ${{ matrix.command }}
run: cargo build --verbose - name: Build
- name: Run tests run: cargo build --verbose
run: cargo test --verbose - name: Run tests
run: cargo test --verbose

Loading…
Cancel
Save