Skip to content

Commit 7233ac0

Browse files
Added xcb dependency install. Remove double zipping
1 parent d0aceec commit 7233ac0

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/linux-nuitka.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,23 @@ jobs:
2727
echo "VERSION=$VERSION" >> $GITHUB_ENV
2828
echo "Resolved version: $VERSION"
2929
30-
- name: Setup FFmpeg
31-
uses: federicocarboni/setup-ffmpeg@v3.1
32-
with:
33-
ffmpeg-version: release # Specify the desired FFmpeg version
34-
architecture: x64
30+
- name: Install missing system libraries (XCB, TBB, etc.)
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y \
34+
libxcb1 \
35+
libxcb-keysyms1 \
36+
libxcb-shape0 \
37+
libxcb-xkb1 \
38+
libxcb-render-util0 \
39+
libxcb-image0 \
40+
libxcb-xinerama0 \
41+
libxkbcommon-x11-0 \
42+
libxcb-icccm4 \
43+
libtbb12
44+
45+
- name: Install FFmpeg
46+
run: sudo apt update && sudo apt install -y ffmpeg
3547

3648
- name: Verify FFmpeg installation
3749
run: |
@@ -85,13 +97,12 @@ jobs:
8597
run: |
8698
cd dist
8799
mv main.bin "pyTranscriber-${VERSION}"
88-
zip -r "pyTranscriber-${VERSION}.zip" "pyTranscriber-${VERSION}"
89100
90101
- name: Upload built executable
91102
uses: actions/upload-artifact@v4
92103
with:
93104
name: pyTranscriber-${{ env.VERSION }}
94-
path: ./dist/pyTranscriber-${{ env.VERSION }}.zip # Adjust this path if Nuitka outputs elsewhere
105+
path: ./dist/pyTranscriber-${{ env.VERSION }} # Adjust this path if Nuitka outputs elsewhere
95106

96107
download:
97108
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)