Skip to content

Commit 95c49b2

Browse files
authored
Poprawa pipilenów budowania (#163)
Mieliśmy 2 problemy: * Debian - 12 sierpnia 2025 obraz dockerowy python:3.12-slim zaczął korzystać z Debiana Trixie zamiast z Debian Bookworm (link: docker-library/official-images@47a7ce0); W Debianie Trixie zamiast Ruby 3.1 jest dostępne Ruby 3.3 * Windows - 2 września 2025 GitHub Action runner windows-latest został przepięty z Windows Server 2022 na Windows Server 2025; wygląda na to, że Inno Setup 6 był pre-instalowany w Windows Sever 2022 (przez co krok install Inno Setup 6 nie był potrzebny i jednoczesnie był niekompletny: https://github.com/CodeForPoznan/alinka-pyside/blob/c934b01f674ce1233d4663d06132816f0173db9f/.github/workflows/_build-win.yml#L38-L43), za to Windows Server 2025 nie posiada Inno Setup 6 (link: actions/runner-images#11644), co ujawniło niekompletność kroku jego instalacji (zawsze musieliśmy zapisac do GITHUB_ENV nową wartość PATH, ale nie zauważaliśmy tego problemu bo Inno Setup 6 był preinstalowany).
1 parent c934b01 commit 95c49b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/_build-win.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
run: |
4141
Invoke-WebRequest -Uri "https://www.jrsoftware.org/download.php/is.exe" -OutFile "C:\InnoSetupInstaller.exe"
4242
Start-Process "C:\InnoSetupInstaller.exe" -ArgumentList "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART" -Wait
43-
$env:Path += ";C:\Program Files (x86)\Inno Setup 6"
43+
$env:PATH += ";C:\Program Files (x86)\Inno Setup 6"
44+
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4445
- name: build PyInstaller package
4546
run: |
4647
poetry run pyinstaller alinka.spec --noconfirm

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV QT_DEBUG_PLUGINS=0
77
ENV DEBIAN_FRONTEND=noninteractive
88
# This fix: libGL error: No matching fbConfigs or visuals found
99
ENV LIBGL_ALWAYS_INDIRECT=1
10-
ENV PATH="${PATH}:/root/.gem/ruby/3.1.0/bin:/root/.local/share/gem/ruby/3.1.0/bin"
10+
ENV PATH="${PATH}:/root/.gem/ruby/3.3.0/bin:/root/.local/share/gem/ruby/3.3.0/bin"
1111

1212
RUN apt-get update && apt-get install -y build-essential python3-pip python3-dev libxcb-cursor0 qt6-base-dev ruby && \
1313
gem install fpm --user-install && \

0 commit comments

Comments
 (0)