File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ jobs :
4+ build :
5+ strategy :
6+ fail-fast : false
7+ matrix :
8+ include :
9+ - qtversionmajor : ' 5'
10+ qtversion : ' 5.15.*'
11+ arch : ' gcc_64'
12+ - qtversionmajor : ' 5'
13+ qtversion : ' 5.12.*'
14+ arch : ' gcc_64'
15+ - qtversionmajor : ' 6'
16+ qtversion : ' 6.11.*'
17+ arch : ' linux_gcc_64'
18+ - qtversionmajor : ' 6'
19+ qtversion : ' 6.8.*'
20+ arch : ' linux_gcc_64'
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - uses : actions/checkout@v2
25+
26+ - name : Install Qt
27+ uses : jurplel/install-qt-action@v4
28+ with :
29+ version : ${{ matrix.qtversion }}
30+ arch : ${{ matrix.arch }}
31+ archives : ' qtbase icu'
32+
33+ - name : Create Build Environment
34+ run : cmake -E make_directory ${{runner.workspace}}/build
35+
36+ - name : Configure CMake
37+ shell : bash
38+ working-directory : ${{runner.workspace}}/build
39+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DJSON_QT_BUILD_TESTS=ON -DJSON_QT_REQUIRED_QT_VERSION_MAJOR=${{matrix.qtversionmajor}}
40+
41+ - name : Build
42+ working-directory : ${{runner.workspace}}/build
43+ shell : bash
44+ # Execute the build. You can specify a specific target with "--target <NAME>"
45+ run : cmake --build . --config Debug
46+
47+ - name : Test
48+ working-directory : ${{runner.workspace}}/build
49+ shell : bash
50+ run : ctest -C Debug --output-on-failure
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ jobs :
4+ build :
5+ strategy :
6+ fail-fast : false
7+ matrix :
8+ include :
9+ - qtversionmajor : ' 5'
10+ qtversion : ' 5.15.*'
11+ arch : ' win64_msvc2019_64'
12+ - qtversionmajor : ' 5'
13+ qtversion : ' 5.12.*'
14+ arch : ' win64_msvc2017_64'
15+ - qtversionmajor : ' 6'
16+ qtversion : ' 6.8.*'
17+ arch : ' win64_msvc2022_64'
18+ - qtversionmajor : ' 6'
19+ qtversion : ' 6.11.*'
20+ arch : ' win64_msvc2022_64'
21+
22+ runs-on : windows-latest
23+
24+ steps :
25+ - uses : actions/checkout@v2
26+
27+ - name : Install Qt
28+ uses : jurplel/install-qt-action@v4
29+ with :
30+ version : ${{ matrix.qtversion }}
31+ arch : ${{ matrix.arch }}
32+ archives : ' qtbase'
33+
34+ - name : Create Build Environment
35+ run : cmake -E make_directory ${{runner.workspace}}/build
36+
37+ - name : Configure CMake
38+ working-directory : ${{runner.workspace}}/build
39+ run : cmake ${env:GITHUB_WORKSPACE} -A x64 -DJSON_QT_BUILD_TESTS=ON -DJSON_QT_REQUIRED_QT_VERSION_MAJOR=${{matrix.qtversionmajor}}
40+
41+ - name : Build
42+ working-directory : ${{runner.workspace}}/build
43+ # Execute the build. You can specify a specific target with "--target <NAME>"
44+ run : cmake --build . --config Debug
45+
46+ - name : Test
47+ working-directory : ${{runner.workspace}}/build
48+ run : |
49+ ctest -C Debug --output-on-failure
You can’t perform that action at this time.
0 commit comments