Skip to content

sbom output

sbom output #144

Workflow file for this run

name: Build Linux Binaries
on:
push:
workflow_dispatch:
jobs:
Blint-GNU-Build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
path: blint
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install poetry
id: poetry
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools pyinstaller poetry
cd blint
poetry config virtualenvs.create false
poetry install --no-cache
- name: Binary gnu build
run: |
cd blint
pyinstaller blint/cli.py --noconfirm --log-level=WARN \
--nowindow \
--onefile \
--name blint \
--add-data="blint/data:blint/data" \
--add-data="blint/data/annotations:blint/data/annotations" \
--collect-submodules blint \
--noupx
./dist/blint -i dist/blint -o /tmp/reports
sha256sum ./dist/blint > ./dist/blint.sha256
env:
PYTHONIOENCODING: utf-8
LANG: en_US.utf-8
- uses: actions/upload-artifact@v1
with:
path: ./blint/dist
name: blint-linux-gnu
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
blint/dist/blint
blint/dist/blint.sha256