Skip to content

Commit

Permalink
Install cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
adamws committed Nov 1, 2023
1 parent c2aafe7 commit 0a54c84
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ jobs:
matrix:
toolchain:
- stable
- beta
- nightly
#- beta
#- nightly
steps:
- uses: actions/checkout@v3
- name: Install librsvg dependencies
run: |
sudo apt-get update
sudo apt-get install libcairo2-dev libgdk-pixbuf-2.0-dev libglib2.0-dev libpango1.0-dev
sudo apt-get install libgdk-pixbuf-2.0-dev libglib2.0-dev libpango1.0-dev
- name: Install cairo
run: |
git clone --depth 1 --branch 1.17.8 https://gitlab.freedesktop.org/cairo/cairo
cd cairo
meson setup _build --buildtype=release
meson compile -C _build
meson install -C _build
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit 0a54c84

Please sign in to comment.