Fix Ubuntu OpenJPEG provisioning (#113)
All checks were successful
All checks were successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user