Fix Ubuntu OpenJPEG provisioning (#113)
All checks were successful
Native code generation / deterministic (push) Successful in 14m31s
Imaging and meshing gate / native (push) Successful in 5m5s
JPEG 2000 feature / linux (push) Successful in 2m40s
Native Rust workspace compile / compile (push) Successful in 5m18s

This commit is contained in:
2026-08-10 11:57:42 +00:00
parent ed516a1a5d
commit cf98152e41
5 changed files with 108 additions and 10 deletions

View File

@@ -21,6 +21,7 @@ on:
- "tests/compat/tests/imaging_meshing_semantics.rs"
- "tests/upstream-tests.json"
- "tools/check_milestone_06.py"
- "tools/install_openjpeg_2_5_4.sh"
pull_request:
paths:
- ".gitea/workflows/imaging-meshing.yml"
@@ -41,6 +42,7 @@ on:
- "tests/compat/tests/imaging_meshing_semantics.rs"
- "tests/upstream-tests.json"
- "tools/check_milestone_06.py"
- "tools/install_openjpeg_2_5_4.sh"
workflow_dispatch:
jobs:
@@ -48,6 +50,9 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
OPENJPEG_PREFIX: /tmp/metacrate-openjpeg-${{ github.run_id }}
PKG_CONFIG_PATH: /tmp/metacrate-openjpeg-${{ github.run_id }}/lib/pkgconfig
LD_LIBRARY_PATH: /tmp/metacrate-openjpeg-${{ github.run_id }}/lib
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
@@ -56,6 +61,11 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Install audited OpenJPEG 2.5.4
run: |
sudo apt-get update
sudo apt-get install --yes build-essential cmake pkg-config
tools/install_openjpeg_2_5_4.sh "$OPENJPEG_PREFIX"
- name: Audit milestone ownership and feature isolation
run: python tools/check_milestone_06.py
- name: Test native imaging and meshing crates