File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 run : poetry run task test
6363 env :
6464 TASKIPY : true
65+
66+ build-linux :
67+ runs-on : ubuntu-22.04
68+ steps :
69+ - name : Checkout
70+ uses : actions/checkout@v3
71+
72+ - name : Set up Python
73+ uses : actions/setup-python@v4
74+ with :
75+ python-version : ' 3.10'
76+
77+ - name : Install binarylane-cli
78+ run : pip install .
79+
80+ - name : Install PyInstaller
81+ run : pip install pyinstaller
82+
83+ - name : Run PyInstaller
84+ run : pyinstaller --name bl --onefile --copy-metadata binarylane-cli --collect-submodules binarylane src/binarylane/console/__main__.py
85+
86+ - name : Install StaticX
87+ run : pip install staticx
88+
89+ - name : Install patchelf
90+ run : sudo apt install -y patchelf
91+
92+ - name : Run StaticX
93+ run : staticx --strip --no-compress dist/bl dist/bl
94+
95+ - uses : actions/upload-artifact@v3
96+ with :
97+ name : linux-x64
98+ path : dist/*
You can’t perform that action at this time.
0 commit comments