Add Fedora and Arch package recipes (#24)
* Package Ferese for Fedora and Arch releases * Build release packages alongside workspace checks * Include dependency licenses and software GPU test drivers * Limit package checks to release PRs and fix Arch Cargo dependency * Prepare Ferese 0.1.0-beta * Release config locks before closing inherited file descriptions * Install the lock PAM policy for native release checks * Include xauth in distribution package test dependencies * Regenerate Arch Git package metadata * Run package checks with an explicit UTC timezone * Remove unused bundled fonts and accept installed license receipts * Format the system font test helper * Load an installed font for headless text rendering checks * Isolate package test runtimes and reap container child processes
This commit is contained in:
1 parent
587602b493
commit
1b9fabbbe4
25 files changed
+1019
-170
No files matched your search
@@ -1165,7 +1165,16 @@ mod tests {
|
||||
}
|
||||
|
||||
fn test_font() -> FontArc {
|
||||
FontArc::try_from_slice(include_bytes!("../../assets/fonts/Comfortaa-Regular.otf")).unwrap()
|
||||
let mut database = fontdb::Database::new();
|
||||
database.load_system_fonts();
|
||||
let font = database.faces().find_map(|face| {
|
||||
database.with_face_data(face.id, |bytes, index| {
|
||||
FontVec::try_from_vec_and_index(bytes.to_vec(), index)
|
||||
.ok()
|
||||
.map(FontArc::new)
|
||||
})?
|
||||
});
|
||||
font.expect("overview rendering tests require a system font")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user