cd: Test on push #19
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: | ||
Check failure on line 10 in .github/workflows/cd-linux.yaml GitHub Actions / Continuous delivery - LinuxInvalid workflow file
|
||
name: Build onefile | ||
runs-on: ubuntu-latest | ||
container: python:3.9-slim | ||
needs: version-check | ||
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 |