Skip to content

Commit

Permalink
CI: Build against Qwt 6.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed May 9, 2024
1 parent aff306e commit f3e4197
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
QT_VER: [5.15.2, 6.7.0]
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
QWT_VER: 6.2.0
QWT_VER: 6.3.0
PYTHON_VERSION: "3.12"

steps:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
QT_VER: [5.15.2, 6.7.0]
env:
QWT_VER: 6.2.0
QWT_VER: 6.3.0

steps:
- name: Get Processor Info
Expand Down Expand Up @@ -88,6 +88,7 @@ jobs:
wget https://downloads.sourceforge.net/qwt/qwt-${{ env.QWT_VER }}.tar.bz2
tar -xf qwt-${{ env.QWT_VER }}.tar.bz2 && cd qwt-${{ env.QWT_VER }}
sed -i "s|= \/usr\/local\/qwt-\$\$QWT\_VERSION|= ${GITHUB_WORKSPACE}/Qwt|g" qwtconfig.pri
sed -i "s|QWT_CONFIG += QwtDesigner'||g" qwtconfig.pri
sed -i "s|QWT_CONFIG += QwtExamples||g" qwtconfig.pri
sed -i "s|QWT_CONFIG += QwtPlayground||g" qwtconfig.pri
sed -i "s|QWT_CONFIG += QwtTests||g" qwtconfig.pri
Expand Down Expand Up @@ -130,7 +131,7 @@ jobs:
env:
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
VCPKG_DEFAULT_TRIPLET: x64-windows
QWT_VER: 6.2.0
QWT_VER: 6.3.0

steps:
- name: Get Processor Info
Expand Down Expand Up @@ -179,6 +180,7 @@ jobs:
Expand-Archive qwt-${{ env.QWT_VER }}.zip -DestinationPath .; cd qwt-${{ env.QWT_VER }}
((Get-Content -path qwtconfig.pri -Raw) `
-replace 'C:/Qwt-\$\$QWT_VERSION',"$Env:GITHUB_WORKSPACE/Qwt" `
-replace 'QWT_CONFIG \+= QwtDesigner',"" `
-replace 'QWT_CONFIG \+= QwtExamples',"" `
-replace 'QWT_CONFIG \+= QwtPlayground',"" `
-replace 'QWT_CONFIG \+= QwtTests',"") `
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
VCPKG_DEFAULT_TRIPLET: x64-windows
QWT_VER: 6.2.0
QWT_VER: 6.3.0

steps:
- name: Checkout
Expand Down Expand Up @@ -94,6 +94,7 @@ jobs:
Expand-Archive qwt-${{ env.QWT_VER }}.zip -DestinationPath .; cd qwt-${{ env.QWT_VER }}
((Get-Content -path qwtconfig.pri -Raw) `
-replace 'C:/Qwt-\$\$QWT_VERSION',"$Env:GITHUB_WORKSPACE/Qwt" `
-replace 'QWT_CONFIG \+= QwtDesigner',"" `
-replace 'QWT_CONFIG \+= QwtExamples',"" `
-replace 'QWT_CONFIG \+= QwtPlayground',"" `
-replace 'QWT_CONFIG \+= QwtTests',"") `
Expand Down Expand Up @@ -329,7 +330,7 @@ jobs:
env:
VCPKG_BINARY_SOURCES: "clear;nuget,GitHub,readwrite"
VCPKG_DEFAULT_TRIPLET: x64-linux
QWT_VER: 6.2.0
QWT_VER: 6.3.0
PYTHON_VERSION: "3.12"

steps:
Expand Down

0 comments on commit f3e4197

Please sign in to comment.