Added a check to the process_pe_resources function #541
Workflow file for this run
This file contains hidden or 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: Build Linux Binaries | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| Blint-GNU-Build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| packages: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: blint | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Linux packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install zlib1g-dev libzstd-dev llvm-18 llvm-18-dev | |
| - 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 --all-groups --all-extras --no-cache | |
| env: | |
| NYXSTONE_LLVM_PREFIX: /usr/lib/llvm-18 | |
| - 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 \ | |
| --collect-submodules symbolic \ | |
| --collect-submodules oras \ | |
| --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@v4 | |
| 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 |