fixup! cd: Test on push #21
Workflow file for this run
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: Continuous delivery - Linux | |
on: | |
push: | |
env: | |
FLIT_ROOT_INSTALL: 1 | |
jobs: | |
build-onefile: | |
name: Build onefile | |
runs-on: ubuntu-latest | |
container: python:3.9-slim | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install required packages | |
run: | | |
apt update | |
apt install -y binutils gcc git libpcsclite-dev libusb-1.0-0 make swig | |
- name: Create virtual environment | |
run: | | |
python -m venv venv | |
. venv/bin/activate | |
pip install flit | |
flit install --symlink | |
- name: Build | |
run: | | |
. venv/bin/activate | |
pyinstaller \ | |
ci-scripts/linux/pyinstaller/pynitrokey-onefile.spec |