Skip to content

Feature flags

Feature flags #201

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
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 -y
- 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