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 2 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:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
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:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v2
- run: ${{ matrix.command }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

Loading…
Cancel
Save