Fix Linux Gitea workflow gates
Some checks failed
Native code generation / deterministic (push) Failing after 10m31s
JPEG 2000 feature / linux (push) Has been cancelled
Skia feature / linux (push) Has been cancelled
Imaging and meshing gate / native (push) Has been cancelled

This commit is contained in:
2026-08-09 11:51:15 +00:00
parent c7777d42f5
commit 2274dd9a91
4 changed files with 20 additions and 7 deletions

View File

@@ -7,6 +7,11 @@ on:
jobs:
linux:
runs-on: ubuntu-latest
env:
# Ubuntu 24.04 also ships an older libopenjp2.so.7. Ensure both
# pkg-config and the runtime loader select the audited 2.5.4 install.
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig
LD_LIBRARY_PATH: /usr/local/lib
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
@@ -19,6 +24,7 @@ jobs:
cmake --build /tmp/openjpeg-build --parallel
sudo cmake --install /tmp/openjpeg-build
sudo ldconfig
test "$(pkg-config --modversion libopenjp2)" = "2.5.4"
- name: Build and test optional feature
run: |
cargo test -p libremetaverse-imaging --features jpeg2000