|
1 | 1 | name: Build CCExtractor on Windows
|
2 | 2 |
|
3 | 3 | on:
|
| 4 | + workflow_dispatch: |
4 | 5 | push:
|
5 | 6 | paths:
|
6 | 7 | - ".github/workflows/build_windows.yml"
|
|
27 | 28 | run: choco install llvm
|
28 | 29 | - uses: actions-rs/toolchain@v1
|
29 | 30 | with:
|
30 |
| - toolchain: 1.56.0 |
| 31 | + toolchain: 1.57.0 |
31 | 32 | override: true
|
32 | 33 | - name: Install Win 10 SDK
|
33 | 34 | uses: ilammy/msvc-dev-cmd@v1
|
|
59 | 60 | run: choco install llvm
|
60 | 61 | - uses: actions-rs/toolchain@v1
|
61 | 62 | with:
|
62 |
| - toolchain: 1.56.0 |
| 63 | + toolchain: 1.57.0 |
63 | 64 | override: true
|
64 | 65 | - name: Install Win 10 SDK
|
65 | 66 | uses: ilammy/msvc-dev-cmd@v1
|
@@ -95,11 +96,17 @@ jobs:
|
95 | 96 | platform: x86
|
96 | 97 | - uses: actions-rs/toolchain@v1
|
97 | 98 | with:
|
98 |
| - toolchain: 1.56.0 |
| 99 | + toolchain: 1.57.0 |
99 | 100 | override: true
|
100 | 101 | target: i686-pc-windows-msvc
|
101 | 102 | - name: Install Win 10 SDK
|
102 | 103 | uses: ilammy/msvc-dev-cmd@v1
|
| 104 | + - name: Clone vcpkg |
| 105 | + run: git clone --depth 1 --single-branch --recursive https://github.com/microsoft/vcpkg.git |
| 106 | + - name: Setup vcpkg |
| 107 | + run: cd vcpkg && bootstrap-vcpkg.bat && vcpkg integrate install |
| 108 | + - name: Install dependencies |
| 109 | + run: cd vcpkg && vcpkg install leptonica:x86-windows-static-md |
103 | 110 | - name: build Release-Full
|
104 | 111 | env:
|
105 | 112 | LIBCLANG_PATH: "C:\\Program Files\\LLVM\\lib"
|
@@ -129,9 +136,15 @@ jobs:
|
129 | 136 | with:
|
130 | 137 | version: latest
|
131 | 138 | platform: x86
|
| 139 | + - name: Clone vcpkg |
| 140 | + run: git clone --depth 1 --single-branch --recursive https://github.com/microsoft/vcpkg.git |
| 141 | + - name: Setup vcpkg |
| 142 | + run: cd vcpkg && bootstrap-vcpkg.bat && vcpkg integrate install |
| 143 | + - name: Install dependencies |
| 144 | + run: cd vcpkg && vcpkg install leptonica:x86-windows-static-md |
132 | 145 | - uses: actions-rs/toolchain@v1
|
133 | 146 | with:
|
134 |
| - toolchain: 1.56.0 |
| 147 | + toolchain: 1.57.0 |
135 | 148 | override: true
|
136 | 149 | target: i686-pc-windows-msvc
|
137 | 150 | - name: Install Win 10 SDK
|
|
0 commit comments