Skip to content

Commit c5e488c

Browse files
committed
opengl dependencies for qwt
1 parent fb415a3 commit c5e488c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
sudo apt-get update
21-
sudo apt-get install -y python3-pip wget libxkbcommon-x11-0 x11-common libxcb-xinerama0-dev
21+
sudo apt-get install -y python3-pip wget libxkbcommon-x11-0 x11-common libxcb-xinerama0-dev build-essential libgl1-mesa-dev mesa-common-dev
2222
2323
- name: Install aqtinstall
2424
run: pip install aqtinstall
@@ -94,18 +94,10 @@ jobs:
9494
run: |
9595
choco install 7zip -y
9696
97-
# Use SourceForge direct mirror to avoid HTML redirect
98-
$qwtZipUrl = "https://downloads.sourceforge.net/project/qwt/qwt/${{ matrix.qwt_version }}/qwt-${{ matrix.qwt_version }}.zip"
97+
$qwtZipUrl = "https://cyfuture.dl.sourceforge.net/project/qwt/qwt/${{ matrix.qwt_version }}/qwt-${{ matrix.qwt_version }}.zip?viasf=1"
9998
$qwtZipPath = "$env:TEMP\qwt.zip"
10099
Invoke-WebRequest $qwtZipUrl -OutFile $qwtZipPath
101100
102-
# Validate archive size
103-
if ((Get-Item $qwtZipPath).Length -lt 100000) {
104-
Write-Error "Downloaded file is too small — likely not a valid archive."
105-
exit 1
106-
}
107-
108-
# Extract and build
109101
7z x $qwtZipPath -o"$env:TEMP\qwt"
110102
cd "$env:TEMP\qwt\qwt-${{ matrix.qwt_version }}"
111103
qmake qwt.pro

0 commit comments

Comments
 (0)