From 73e9047cbfa3127ddaa1f1fde37af6cbf9db07f9 Mon Sep 17 00:00:00 2001 From: Benedikt Terhechte Date: Sun, 12 Dec 2021 09:56:56 +0100 Subject: [PATCH] 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... --- .github/workflows/rust.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bb2ae93..8669157 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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