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