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

@@ -4,12 +4,14 @@ on:
push:
paths:
- ".gitea/workflows/rust-workspace.yml"
- "tools/install_openjpeg_2_5_4.sh"
- "**/*.rs"
- "**/Cargo.toml"
- "Cargo.lock"
pull_request:
paths:
- ".gitea/workflows/rust-workspace.yml"
- "tools/install_openjpeg_2_5_4.sh"
- "**/*.rs"
- "**/Cargo.toml"
- "Cargo.lock"
@@ -18,11 +20,20 @@ on:
jobs:
compile:
runs-on: ubuntu-latest
env:
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: dtolnay/rust-toolchain@stable
with:
components: 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: Check formatting
run: cargo fmt --all -- --check
- name: Audit native milestone 09 boundaries