From 1828b25fefe8ce0a3707f7b3cf351852ceb2656a Mon Sep 17 00:00:00 2001 From: adamws Date: Wed, 1 Nov 2023 18:50:17 +0100 Subject: [PATCH] wip --- .github/workflows/build.yml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df948ee..84e1eed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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