Skip to content

Commit ecc4010

Browse files
committed
build: update Linux builds to Lazarus 4.8
Linux CI was still using Lazarus 4.4. Use the current 4.8 release for x86_64 and ARM64; Windows and macOS stay unchanged.
1 parent f1775eb commit ecc4010

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/lazarus.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,21 @@ jobs:
3535
uses: actions/checkout@v4
3636

3737
- name: Install Lazarus
38+
if: ${{ matrix.operating-system != 'ubuntu-latest' }}
3839
uses: gcarreno/setup-lazarus@v3
3940
with:
4041
lazarus-version: ${{ matrix.lazarus-versions }}
4142
with-cache: false
4243

44+
- name: Install Lazarus 4.8 (Ubuntu)
45+
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
46+
run: |
47+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.8/fpc-laz_3.2.2-210709_amd64.deb -O /tmp/fpc-laz.deb
48+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.8/fpc-src_3.2.2-210709_amd64.deb -O /tmp/fpc-src.deb
49+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%204.8/lazarus-project_4.8.0-0_amd64.deb -O /tmp/lazarus.deb
50+
sudo apt-get install -y /tmp/fpc-laz.deb /tmp/fpc-src.deb /tmp/lazarus.deb
51+
echo "/usr/lib/lazarus/4.8" >> $GITHUB_PATH
52+
4353
- name: Build HeidiSQL (Windows)
4454
if: ${{ matrix.operating-system == 'windows-latest' }}
4555
run: |
@@ -140,16 +150,14 @@ jobs:
140150
- name: Checkout source code
141151
uses: actions/checkout@v4
142152

143-
# Install FPC + Lazarus 4.4 (example: your own tarball or official DEBs)
144-
- name: Install Lazarus 4.4 (ARM64)
153+
- name: Install Lazarus 4.8 (ARM64)
145154
run: |
146155
sudo apt-get update
147-
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.4/fpc-laz_3.2.3-240813_arm64.deb -O /tmp/fpc-laz.deb
148-
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.4/fpc-src_3.2.3-240813_arm64.deb -O /tmp/fpc-src.deb
149-
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.4/lazarus-project_4.4.0-0_arm64.deb -O /tmp/lazarus.deb
156+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.8/fpc-laz_3.2.3-240813_arm64.deb -O /tmp/fpc-laz.deb
157+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.8/fpc-src_3.2.3-240813_arm64.deb -O /tmp/fpc-src.deb
158+
wget -q https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20arm64%20DEB/Lazarus%204.8/lazarus-project_4.8.0-0_arm64.deb -O /tmp/lazarus.deb
150159
sudo apt-get install -y /tmp/fpc-laz.deb /tmp/fpc-src.deb /tmp/lazarus.deb
151-
# ensure Lazarus bin dir is on PATH, or export in this job:
152-
echo "/usr/lib/lazarus/4.4" >> $GITHUB_PATH
160+
echo "/usr/lib/lazarus/4.8" >> $GITHUB_PATH
153161
154162
- name: Install Qt6 for ARM64
155163
run: |
@@ -164,7 +172,7 @@ jobs:
164172
165173
- name: Build HeidiSQL (Linux ARM64 QT6)
166174
run: |
167-
echo Building with QT6 on ARM64 using Lazarus 4.4
175+
echo Building with QT6 on ARM64 using Lazarus 4.8
168176
make build-qt6arm
169177
170178
- name: Upload binaries QT6 ARM64

0 commit comments

Comments
 (0)