Test - Build and Upload meson blint-db #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test - Build and Upload meson blint-db | |
on: | |
workflow_dispatch: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: appthreat/blintdb | |
jobs: | |
builder-meson-tst: | |
runs-on: ['self-hosted', 'ubuntu', 'arm64'] | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Install dependencies | |
run: | | |
uv venv -p 3.13 | |
source .venv/bin/activate | |
uv sync --all-extras --dev | |
- name: Clean up previous | |
run: | | |
rm -rf ${BLINT_DB_TEMP} | |
- name: Build and upload db | |
run: | | |
mkdir -p ${BLINT_DB_TEMP} | |
uv run blint-db --clean-start -f -Z1 | |
python ./.oras/orasclient.py -p meson-tst | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_USERNAME: ${{ github.actor }} | |
BLINT_DB_TEMP: ${{ runner.temp }}/blint-db-temp |