|
|
@ -17,7 +17,9 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- run: rustup update && rustup component add rustfmt |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
component: rustfmt |
|
|
|
- run: cargo fmt -- --check |
|
|
|
- run: cargo fmt -- --check |
|
|
|
|
|
|
|
|
|
|
|
clippy: |
|
|
|
clippy: |
|
|
@ -26,8 +28,10 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default 1.74.1 && rustup component add clippy |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.74.1 |
|
|
|
|
|
|
|
component: clippy |
|
|
|
- run: cargo clippy --all-targets -- -D warnings -D clippy::all |
|
|
|
- run: cargo clippy --all-targets -- -D warnings -D clippy::all |
|
|
|
working-directory: ./lib/oxsdatatypes |
|
|
|
working-directory: ./lib/oxsdatatypes |
|
|
|
- run: cargo clippy --all-targets -- -D warnings -D clippy::all |
|
|
|
- run: cargo clippy --all-targets -- -D warnings -D clippy::all |
|
|
@ -59,8 +63,11 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default 1.74.1 && rustup target add wasm32-unknown-unknown && rustup component add clippy |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.74.1 |
|
|
|
|
|
|
|
target: wasm32-unknown-unknown |
|
|
|
|
|
|
|
component: clippy |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-unknown-unknown -- -D warnings -D clippy::all |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-unknown-unknown -- -D warnings -D clippy::all |
|
|
|
working-directory: ./js |
|
|
|
working-directory: ./js |
|
|
|
|
|
|
|
|
|
|
@ -70,8 +77,11 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default 1.74.1 && rustup target add wasm32-wasi && rustup component add clippy |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.74.1 |
|
|
|
|
|
|
|
target: wasm32-wasi |
|
|
|
|
|
|
|
component: clippy |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-wasi -- -D warnings -D clippy::all |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-wasi -- -D warnings -D clippy::all |
|
|
|
working-directory: ./lib |
|
|
|
working-directory: ./lib |
|
|
|
|
|
|
|
|
|
|
@ -81,8 +91,11 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default 1.74.1 && rustup target add wasm32-unknown-unknown && rustup component add clippy |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.74.1 |
|
|
|
|
|
|
|
target: wasm32-unknown-unknown |
|
|
|
|
|
|
|
component: clippy |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-unknown-unknown --features getrandom/custom --features oxsdatatypes/custom-now -- -D warnings -D clippy::all |
|
|
|
- run: cargo clippy --lib --tests --target wasm32-unknown-unknown --features getrandom/custom --features oxsdatatypes/custom-now -- -D warnings -D clippy::all |
|
|
|
working-directory: ./lib |
|
|
|
working-directory: ./lib |
|
|
|
|
|
|
|
|
|
|
@ -90,8 +103,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: cargo install cargo-deny || true |
|
|
|
- run: cargo install cargo-deny || true |
|
|
|
- run: cargo deny check |
|
|
|
- run: cargo deny check |
|
|
|
|
|
|
|
|
|
|
@ -102,8 +114,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: cargo install cargo-semver-checks || true |
|
|
|
- run: cargo install cargo-semver-checks || true |
|
|
|
- run: cargo semver-checks check-release --exclude oxrocksdb-sys --exclude oxigraph-js --exclude pyoxigraph --exclude oxigraph-testsuite --exclude oxigraph-cli |
|
|
|
- run: cargo semver-checks check-release --exclude oxrocksdb-sys --exclude oxigraph-js --exclude pyoxigraph --exclude oxigraph-testsuite --exclude oxigraph-cli |
|
|
|
|
|
|
|
|
|
|
@ -113,8 +124,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: cargo test |
|
|
|
- run: cargo test |
|
|
|
|
|
|
|
|
|
|
|
test_linux_msv: |
|
|
|
test_linux_msv: |
|
|
@ -123,8 +133,10 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup toolchain install nightly && rustup default 1.70.0 |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.70.0 |
|
|
|
|
|
|
|
- run: rustup toolchain install nightly |
|
|
|
- run: rm Cargo.lock && cargo +nightly update -Z direct-minimal-versions |
|
|
|
- run: rm Cargo.lock && cargo +nightly update -Z direct-minimal-versions |
|
|
|
- run: cargo test |
|
|
|
- run: cargo test |
|
|
|
|
|
|
|
|
|
|
@ -134,8 +146,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: rm Cargo.lock && cargo update |
|
|
|
- run: rm Cargo.lock && cargo update |
|
|
|
- run: cargo test |
|
|
|
- run: cargo test |
|
|
|
|
|
|
|
|
|
|
@ -145,9 +156,10 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default nightly |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
version: nightly |
|
|
|
- run: sudo apt-get install -y llvm |
|
|
|
- run: sudo apt-get install -y llvm |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: cargo test --tests --target x86_64-unknown-linux-gnu --workspace --exclude pyoxigraph --exclude oxigraph-testsuite --exclude oxigraph-cli |
|
|
|
- run: cargo test --tests --target x86_64-unknown-linux-gnu --workspace --exclude pyoxigraph --exclude oxigraph-testsuite --exclude oxigraph-cli |
|
|
|
env: |
|
|
|
env: |
|
|
|
RUSTFLAGS: -Z sanitizer=address |
|
|
|
RUSTFLAGS: -Z sanitizer=address |
|
|
@ -158,8 +170,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- uses: actions/cache@v3 |
|
|
|
- uses: actions/cache@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path: rocksdb |
|
|
|
path: rocksdb |
|
|
@ -173,12 +184,9 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse |
|
|
|
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse |
|
|
|
- run: cargo test |
|
|
|
- run: cargo test |
|
|
|
env: |
|
|
|
|
|
|
|
RUST_BACKTRACE: 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test_wasi: |
|
|
|
test_wasi: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
@ -186,13 +194,12 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup target add wasm32-wasi |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
target: wasm32-wasi |
|
|
|
- uses: taiki-e/install-action@wasmtime |
|
|
|
- uses: taiki-e/install-action@wasmtime |
|
|
|
- run: cargo install cargo-wasi || true |
|
|
|
- run: cargo install cargo-wasi || true |
|
|
|
- run: cargo wasi test --workspace --exclude oxigraph-js --exclude oxigraph-cli --exclude oxigraph-testsuite --exclude oxrocksdb-sys --exclude pyoxigraph |
|
|
|
- run: cargo wasi test --workspace --exclude oxigraph-js --exclude oxigraph-cli --exclude oxigraph-testsuite --exclude oxrocksdb-sys --exclude pyoxigraph |
|
|
|
env: |
|
|
|
|
|
|
|
RUST_BACKTRACE: 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rustdoc: |
|
|
|
rustdoc: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
@ -200,8 +207,9 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup default 1.74.1 |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.74.1 |
|
|
|
- run: cargo doc |
|
|
|
- run: cargo doc |
|
|
|
working-directory: ./lib |
|
|
|
working-directory: ./lib |
|
|
|
env: |
|
|
|
env: |
|
|
@ -211,8 +219,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: cargo install wasm-pack || true |
|
|
|
- run: cargo install wasm-pack || true |
|
|
|
- uses: actions/setup-node@v3 |
|
|
|
- uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
@ -230,8 +237,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: "3.12" |
|
|
|
python-version: "3.12" |
|
|
@ -264,8 +270,10 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update && rustup toolchain install nightly && rustup default 1.70.0 |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
with: |
|
|
|
|
|
|
|
version: 1.70.0 |
|
|
|
|
|
|
|
- run: rustup toolchain install nightly |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: "3.8" |
|
|
|
python-version: "3.8" |
|
|
@ -285,8 +293,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: "pypy3.10" |
|
|
|
python-version: "pypy3.10" |
|
|
@ -305,8 +312,7 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
submodules: true |
|
|
|
submodules: true |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
- uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: "3.12" |
|
|
|
python-version: "3.12" |
|
|
@ -323,7 +329,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- run: cargo install typos-cli || true |
|
|
|
- run: cargo install typos-cli || true |
|
|
|
- run: typos |
|
|
|
- run: typos |
|
|
|
|
|
|
|
|
|
|
@ -421,6 +427,5 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- run: rustup update |
|
|
|
- uses: ./.github/actions/setup-rust |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
|
|
|
- run: python lints/test_debian_compatibility.py |
|
|
|
- run: python lints/test_debian_compatibility.py |
|
|
|