8
8
strategy :
9
9
matrix :
10
10
os : [ubuntu-22.04, ubuntu-latest]
11
- qt_version : ['6.8.3 ', '6.9.2 ']
11
+ qt_version : ['6.9.2 ', '6.10.0 ']
12
12
build_type : [Debug, Release]
13
- qwt_version : ['6.3.0']
14
13
15
14
steps :
16
15
- uses : actions/checkout@v4
38
37
path : ${{ env.QT_ROOT_DIR }}
39
38
key : ${{ runner.os }}-qt-${{ matrix.qt_version }}
40
39
41
- - name : Download and build Qwt ${{ matrix.qwt_version }} from source
42
- run : |
43
- set -e -x
44
- wget https://sourceforge.net/projects/qwt/files/qwt/${{ matrix.qwt_version }}/qwt-${{ matrix.qwt_version }}.tar.bz2
45
- tar -xjf qwt-${{ matrix.qwt_version }}.tar.bz2
46
- cd qwt-${{ matrix.qwt_version }}
47
- "${QT_ROOT_DIR}/bin/qmake" qwt.pro qwt.pro
48
- make -j$(nproc)
49
- sudo make install
50
-
51
40
- name : Configure CMake for ${{ matrix.build_type }}
52
41
run : |
53
42
mkdir build
61
50
runs-on : windows-2022
62
51
strategy :
63
52
matrix :
64
- qt_version : ['6.8.3 ', '6.9.2 ']
53
+ qt_version : ['6.9.2 ', '6.10.0 ']
65
54
build_type : [Debug, Release]
66
- qwt_version : ['6.3.0']
67
55
68
56
steps :
69
57
- uses : actions/checkout@v4
@@ -89,31 +77,12 @@ jobs:
89
77
path : ${{ env.QT_ROOT_DIR }}
90
78
key : ${{ runner.os }}-qt-${{ matrix.qt_version }}
91
79
92
- - name : Download and build Qwt ${{ matrix.qwt_version }} from source
93
- shell : pwsh
94
- run : |
95
- choco install 7zip -y
96
-
97
- $qwtZipUrl = "https://cyfuture.dl.sourceforge.net/project/qwt/qwt/${{ matrix.qwt_version }}/qwt-${{ matrix.qwt_version }}.zip?viasf=1"
98
- $qwtZipPath = "$env:TEMP\qwt.zip"
99
- Invoke-WebRequest $qwtZipUrl -OutFile $qwtZipPath
100
-
101
- 7z x $qwtZipPath -o"$env:TEMP\qwt"
102
- cd "$env:TEMP\qwt\qwt-${{ matrix.qwt_version }}"
103
- qmake qwt.pro
104
- msbuild qwt.sln /p:Configuration=Release
105
-
106
- # Install to C:\qwt
107
- mkdir C:\qwt
108
- xcopy /s /i lib C:\qwt\lib
109
- xcopy /s /i include C:\qwt\include
110
-
111
80
- name : Configure CMake for ${{ matrix.build_type }}
112
81
shell : pwsh
113
82
run : |
114
83
mkdir build
115
84
cd build
116
- cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_PREFIX_PATH="C:\qwt "
85
+ cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}"
117
86
118
87
- name : Build with ${{ matrix.build_type }}
119
88
shell : pwsh
0 commit comments