Recheck the shared CUPS capture on Ubuntu

This commit is contained in:
Codex committed 2026-12-02 21:39:58 +01:00
1 parent 746fd69d38
commit dca57fcdcf
1 file changed
+5 -27
@@ -1,4 +1,4 @@
name: VectorCraft print catalog integration
name: Shared print CUPS capture recheck
on:
push:
@@ -8,18 +8,14 @@ permissions:
contents: read
jobs:
catalog:
capture:
runs-on: ubuntu-24.04
timeout-minutes: 100
timeout-minutes: 30
env:
SHARED_REV: 86deec5c4f8196567296f884109cb76b075dfd70
SHARED_REV: a36521d50888fb3fa8d23934e65809c5df426c72
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"
CARGO_INCREMENTAL: "0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
repository: storytold/craft-libs
@@ -32,13 +28,6 @@ jobs:
pkg-config libxkbcommon-dev libwayland-dev libx11-dev libxcb1-dev libxcursor-dev libxrandr-dev
libxi-dev libfontconfig1-dev libfreetype-dev mesa-vulkan-drivers libgl1-mesa-dev libasound2-dev
libudev-dev cups-daemon cups-client cups-filters poppler-utils
- name: Test the shared printer catalog and page selection
working-directory: shared-candidate
run: |
set -euo pipefail
export CARGO_TARGET_DIR="$RUNNER_TEMP/print-target"
cargo test --locked -p craft-print -p craft-pages | tee "$RUNNER_TEMP/shared-tests.log"
grep -E 'driverless_rolls_keep_the_width_and_length_limits_for_each_roll.*ok' "$RUNNER_TEMP/shared-tests.log"
- name: Verify the output of the combined candidate with a private CUPS queue
working-directory: shared-candidate
run: |
@@ -50,17 +39,6 @@ jobs:
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
name: vectorcraft-shared-cups-output
name: shared-cups-output
path: shared-candidate/cups-capture/
if-no-files-found: ignore
- name: Run VectorCraft print dialog and desktop paper tests with this shared revision
if: ${{ !cancelled() }}
run: |
set -euo pipefail
export CARGO_TARGET_DIR="$RUNNER_TEMP/print-target"
previous=77ade517ecb2a6ad86feb2f9983a098ad5738fc6
sed -i "s/$previous/$SHARED_REV/g" Cargo.toml apps/vectorcraft-web/Cargo.toml
cargo test -p vectorcraft-ui-egui --lib dialogs::tests_print | tee "$RUNNER_TEMP/dialog-tests.log"
grep -F 'shared_driver_forms_keep_preset_keys_and_distinguish_precise_sizes ... ok' "$RUNNER_TEMP/dialog-tests.log"
cargo test --locked -p vectorcraft --bin vectorcraft printing::job_settings_tests | tee "$RUNNER_TEMP/desktop-tests.log"
grep -F 'the_chosen_paper_goes_to_cups_as_media ... ok' "$RUNNER_TEMP/desktop-tests.log"