Skip to content

Remove unused zstd and zlib link dependencies #18

Remove unused zstd and zlib link dependencies

Remove unused zstd and zlib link dependencies #18

Workflow file for this run

# SPDX-License-Identifier: MIT
# Copyright (c) 2026 Advanced Micro Devices, Inc. All rights reserved.
name: KernelDB CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
ci:
runs-on: [self-hosted, mi3xx]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Ensure Apptainer
run: |
if ! command -v apptainer &>/dev/null; then
apt-get update && apt-get install -y software-properties-common
add-apt-repository -y ppa:apptainer/ppa
apt-get update && apt-get install -y apptainer
fi
- name: Build Apptainer image
run: bash .github/scripts/container_build.sh
- name: Editable install + import smoke test
run: |
bash .github/scripts/container_exec.sh "
pip install -e '.[dev]'
python3 -c 'import kerneldb'
"
- name: Run pytest
run: |
bash .github/scripts/container_exec.sh "
pip install -e '.[dev]'
pytest tests/ -v
"