Skip to content

Pull in nightly rust-fmt, use vid rustfmt.toml (#2700) #1854

Pull in nightly rust-fmt, use vid rustfmt.toml (#2700)

Pull in nightly rust-fmt, use vid rustfmt.toml (#2700) #1854

name: Cargo features
on:
push:
branches:
- main
- release-*
tags:
# YYYYMMDD
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*"
schedule:
- cron: "0 0 * * 1"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cargo-features:
runs-on: ubuntu-latest
strategy:
matrix:
command:
- just check-features-ci
- just check-features-ci --tests
steps:
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@just
- name: Checkout Repository
uses: actions/checkout@v4
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
android: true
tool-cache: false
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
# Note: this job doesn't use a cache on purpose because it mostly compiles
# the crates in this repo over and over again with different feature
# combinations. The target directory gets really large. Adding caching
# would not speed it up much and further contribute to our cache usage.
- name: Check compilation feature combinations
run: |
${{ matrix.command }}