Skip to content

Commit ec7c816

Browse files
committed
update
1 parent 886ec68 commit ec7c816

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

.github/workflows/make-example-on-windows.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,35 @@ jobs:
3333
run: |
3434
dir ${{ github.workspace }}
3535
36-
- name: (3) Build
36+
- name: (3) Create build directory
3737
working-directory: ${{ runner.temp }}
3838
run: |
3939
cd D:\a\qhexedit2\qhexedit2
4040
mkdir build
4141
cd build
42-
qmake ..\example\qhexedit.pro
43-
nmake
44-
dir
45-
windeployqt --qmldir ${{ env.SOURCE_DIR }} example.exe --pdb --release --compiler-runtime
46-
copy C:\Windows\System32\concrt140.dll .
47-
copy C:\Windows\System32\vccorlib140.dll .
48-
copy C:\Windows\System32\msvcp140.dll .
49-
copy C:\Windows\System32\vcruntime140.dll .
50-
42+
43+
- name: (7) Set up Visual Studio shell
44+
uses: egor-tensin/vs-shell@v2
45+
with:
46+
arch: x64
47+
48+
- name: (7) Set up Visual Studio shell
49+
uses: egor-tensin/vs-shell@v2
50+
with:
51+
arch: x64
52+
53+
- name: (8) Build
54+
working-directory: ${{ runner.temp }}\build
55+
run: |
56+
qmake ${{ env.SOURCE_DIR }}\example\qhexedit.pro
57+
${{ runner.temp }}\jom\jom -j2
58+
cd release
59+
windeployqt --qmldir ${{ env.SOURCE_DIR }} example.exe --pdb --release --compiler-runtime
60+
copy C:\Windows\System32\concrt140.dll .
61+
copy C:\Windows\System32\vccorlib140.dll .
62+
copy C:\Windows\System32\msvcp140.dll .
63+
copy C:\Windows\System32\vcruntime140.dll .
64+
5165
- name: (9) Zip build
5266
working-directory: ${{ runner.temp }}
5367
run: |

0 commit comments

Comments
 (0)