From a35ed715e4ef7edaa153e4deca148260441b91cd Mon Sep 17 00:00:00 2001 From: Olivier Lemoine Date: Wed, 19 Feb 2025 11:41:14 +0100 Subject: [PATCH] Update pipeline --- .github/workflows/rust.yml | 52 ++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d206de4..b060801 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,33 +1,37 @@ name: Rust on: - push: + push: env: - CARGO_TERM_COLOR: always + CARGO_TERM_COLOR: always jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run tests - run: cargo test --verbose + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install fonts + run: sudo apt install -y pkg-config libfreetype6-dev libfontconfig1-dev + - name: Run tests + run: cargo test --verbose - format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Format - run: cargo fmt + format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Format + run: cargo fmt - examples: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Copy current shape dir - run: cp -r examples/out examples/out-current - - name: Execute all examples - run: ./run-all-examples.sh - - name: Compare the 2 directories - run: diff examples/out-current examples/out + examples: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install fonts + run: sudo apt install -y pkg-config libfreetype6-dev libfontconfig1-dev + - name: Copy current shape dir + run: cp -r examples/out examples/out-current + - name: Execute all examples + run: ./run-all-examples.sh + - name: Compare the 2 directories + run: diff examples/out-current examples/out