Skip to content

Commit

Permalink
install missing -dev packages on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjago committed Jan 10, 2022
1 parent bb3ae57 commit f5a8ce5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
architecture: x86_64
binary-postfix: ".exe"
use-cross: false

steps:
- name: Installing Rust toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -43,14 +42,20 @@ jobs:
override: true
- name: Checkout repository
uses: actions/checkout@v2
- name: Ubuntu extra installs
shell: bash
run: |
if [[ ${{ matrix.job.os }} == ubuntu-latest ]]; then
sudo apt update
sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev
fi
- name: Cargo build
uses: actions-rs/cargo@v1
with:
command: build
use-cross: ${{ matrix.job.use-cross }}
toolchain: ${{ matrix.rust }}
args: --release --target ${{ matrix.job.target }}

- name: install strip command
shell: bash
run: |
Expand Down

0 comments on commit f5a8ce5

Please sign in to comment.