We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38a08f1 commit 7f15b36Copy full SHA for 7f15b36
1 file changed
.github/workflows/build.yml
@@ -31,3 +31,24 @@ jobs:
31
with:
32
name: windows
33
path: dist/*
34
+
35
+ build-linux:
36
+ runs-on: ubuntu-22.04
37
+ steps:
38
+ - name: Checkout
39
+ uses: actions/checkout@v3
40
41
+ - name: Install uv
42
+ uses: astral-sh/setup-uv@v5
43
44
+ - name: Create static binary
45
+ run: >
46
+ uv run --no-project --python 3.10 --with .,pyinstaller,staticx --
47
+ bash -c 'pyinstaller --name bl --onefile --copy-metadata binarylane-cli
48
+ --collect-submodules binarylane src/binarylane/console/__main__.py &&
49
+ staticx --strip --no-compress dist/bl dist/bl'
50
51
+ - uses: actions/upload-artifact@v4
52
+ with:
53
+ name: linux-x64
54
+ path: dist/*
0 commit comments