Skip to content

installling deps in ci #198

installling deps in ci

installling deps in ci #198

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install system deps
run: sudo apt install pkg-config libfreetype6-dev libfontconfig1-dev
- name: ⚡ Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: 🔨 Build
uses: actions-rs/cargo@v1
with:
command: build
- name: 🔎 Test
uses: actions-rs/cargo@v1
with:
command: test