Skip to content

use general purpose package installer to install dependencies for CI … #3

use general purpose package installer to install dependencies for CI …

use general purpose package installer to install dependencies for CI … #3

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: true
swap-storage: true
- name: Install build dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libsdl2-dev libsd2-image-dev libsdl2-mixer-dev liblerc-dev libjbig-dev
version: 1.0
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose