Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adamws committed Nov 1, 2023
1 parent e82ba31 commit 1828b25
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,20 @@ jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
#- beta
#- nightly
#strategy:
# matrix:
# toolchain:
# - stable
# - beta
# - nightly
container:
image: ubuntu:mantic
steps:
- uses: actions/checkout@v3
- name: Install librsvg dependencies
run: |
sudo apt-get update
sudo apt-get install libgdk-pixbuf-2.0-dev libglib2.0-dev libpango1.0-dev meson
- 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
sudo apt-get install libcairo2-dev libgdk-pixbuf-2.0-dev libglib2.0-dev libpango1.0-dev
#- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
#- run: cargo build --verbose
#- run: cargo test --verbose

0 comments on commit 1828b25

Please sign in to comment.