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,8 @@ on:
jobs:
deterministic:
runs-on: ubuntu-latest
env:
CARGO_BUILD_JOBS: "1"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
@@ -40,7 +42,7 @@ jobs:
cargo test -p libremetaverse --lib joint_get_aliases_list
- name: Build and audit clean Rust-only release artifacts
run: |
cargo build --workspace --release --locked
cargo build -p libremetaverse-codegen --release --locked -j 1
python3 tools/check_codegen_gate.py --release-dir target/release
- name: Lint native generator
run: |

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

View File

@@ -15,7 +15,7 @@ jobs:
- name: Install native link prerequisites
run: |
sudo apt-get update
sudo apt-get install --yes curl pkg-config libfontconfig1-dev libfreetype6-dev
sudo apt-get install --yes build-essential clang curl ninja-build pkg-config python3 libfontconfig1-dev libfreetype6-dev
- name: Test default and Skia feature builds
run: |
cargo test -p libremetaverse-imaging-skia --no-default-features