File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 1313 BUILD_TYPE : Release
1414
1515jobs :
16- build :
16+ Linux :
1717 runs-on : ubuntu-20.04
1818 steps :
1919 - uses : actions/checkout@v2
20-
2120 - name : Install dependencies
2221 run : |
2322 sudo apt update
4847 # cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_EXAMPLE=true -DBUILD_TESTING=true
4948 # make -j2
5049 # make test
50+ Windows :
51+ runs-on : windows-latest
52+ steps :
53+ - uses : actions/checkout@v1
54+ with :
55+ fetch-depth : 1
56+
57+ - name : Install Qt
58+ uses : jurplel/install-qt-action@v2
59+ with :
60+ cached : ${{ steps.cache-qt.outputs.cache-hit }}
61+ arch : ' win64_mingw81'
62+ version : ' 5.15.2'
63+
64+ - name : Build
65+ shell : bash
66+ if : ${{ !steps.cache-qt.outputs.cache-hit }}
67+ run : |
68+ mkdir build
69+ cd build
70+ cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="$Qt5_Dir" -DBUILD_SHARED_LIBS=ON ..
71+ mingw32-make -j2 VERBOSE=1
You can’t perform that action at this time.
0 commit comments